📄 numbernode.html
字号:
<DT><B>Returns:</B><DD>the iterator type</DL></DD></DL><HR><A NAME="setIteratorType(int)"><!-- --></A><H3>setIteratorType</H3><PRE>public void <B>setIteratorType</B>(int newValue)</PRE><DL><DD>setter for this nodes iteratorType which should be one of the three enumerated values<P><DD><DL><DT><B>Parameters:</B><DD><CODE>newValue</CODE> - the new iterator type to use</DL></DD></DL><HR><A NAME="getCheckable()"><!-- --></A><H3>getCheckable</H3><PRE>public boolean <B>getCheckable</B>()</PRE><DL><DD>returns whether or not this node can be toggled on and off<P><DD><DL><DT><B>Returns:</B><DD>true if it's checkable</DL></DD></DL><HR><A NAME="getText()"><!-- --></A><H3>getText</H3><PRE>public java.lang.String <B>getText</B>()</PRE><DL><DD>returns the text to be displayed for this node<P><DD><DL><DT><B>Returns:</B><DD>the name</DL></DD></DL><HR><A NAME="getToolTipText()"><!-- --></A><H3>getToolTipText</H3><PRE>public java.lang.String <B>getToolTipText</B>()</PRE><DL><DD>getter for the tooltip text<P><DD><DL><DT><B>Returns:</B><DD>tooltip text</DL></DD></DL><HR><A NAME="setUserObject(java.lang.Object)"><!-- --></A><H3>setUserObject</H3><PRE>public void <B>setUserObject</B>(java.lang.Object o)</PRE><DL><DD>this is a simple filter for the setUserObject method. We basically don't want null values to be passed in.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>setUserObject</CODE> in interface <CODE>javax.swing.tree.MutableTreeNode</CODE><DT><B>Overrides:</B><DD><CODE>setUserObject</CODE> in class <CODE>javax.swing.tree.DefaultMutableTreeNode</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>o</CODE> - the user object</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>returns a string representation<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>javax.swing.tree.DefaultMutableTreeNode</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string representation</DL></DD></DL><HR><A NAME="getZeroValue()"><!-- --></A><H3>getZeroValue</H3><PRE>public java.lang.Number <B>getZeroValue</B>() throws <A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></PRE><DL><DD>figures out the class of this node's object and returns a new instance of it initialized with the value of "0".<P><DD><DL><DT><B>Returns:</B><DD>0 as object<DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></CODE> - if number class not supported</DL></DD></DL><HR><A NAME="getOneValue()"><!-- --></A><H3>getOneValue</H3><PRE>public java.lang.Number <B>getOneValue</B>() throws <A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></PRE><DL><DD>figures out the class of this node's object and returns a new instance of it initialized with the value of "1".<P><DD><DL><DT><B>Returns:</B><DD>1 as object<DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></CODE> - if number class not supported</DL></DD></DL><HR><A NAME="getTwoValue()"><!-- --></A><H3>getTwoValue</H3><PRE>public java.lang.Number <B>getTwoValue</B>() throws <A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></PRE><DL><DD>figures out the class of this node's object and returns a new instance of it initialized with the value of "2".<P><DD><DL><DT><B>Returns:</B><DD>2 as object<DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></CODE> - if number class not supported</DL></DD></DL><HR><A NAME="addNumbers(java.lang.Number, java.lang.Number)"><!-- --></A><H3>addNumbers</H3><PRE>public java.lang.Number <B>addNumbers</B>(java.lang.Number a, java.lang.Number b) throws <A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></PRE><DL><DD>adds two objects that are instances of one of the child classes of java.lang.Number<P><DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - the first number<DD><CODE>b</CODE> - the second number<DT><B>Returns:</B><DD>the sum: a+b<DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></CODE> - if number class not supported</DL></DD></DL><HR><A NAME="multiplyNumbers(java.lang.Number, java.lang.Number)"><!-- --></A><H3>multiplyNumbers</H3><PRE>public java.lang.Number <B>multiplyNumbers</B>(java.lang.Number a, java.lang.Number b) throws <A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></PRE><DL><DD>multiplies two objects that are instances of one of the child classes of java.lang.Number<P><DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - the first number<DD><CODE>b</CODE> - the second number<DT><B>Returns:</B><DD>the product: a*b<DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></CODE> - if number class not supported</DL></DD></DL><HR><A NAME="lessThan(java.lang.Number, java.lang.Number)"><!-- --></A><H3>lessThan</H3><PRE>public boolean <B>lessThan</B>(java.lang.Number a, java.lang.Number b) throws <A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></PRE><DL><DD>tests if the first argument is greater than the second among two objects that are instances of one of the child classes of java.lang.Number<P><DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - the first number<DD><CODE>b</CODE> - the second number<DT><B>Returns:</B><DD>true if a is less than b<DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></CODE> - if number class not supported</DL></DD></DL><HR><A NAME="equals(java.lang.Number, java.lang.Number)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Number a, java.lang.Number b) throws <A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></PRE><DL><DD>tests for equality among two objects that are instances of one of the child classes of java.lang.Number<P><DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - the first number<DD><CODE>b</CODE> - the second number<DT><B>Returns:</B><DD>true if the two values are equal<DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></CODE> - if number class not supported</DL></DD></DL><HR><A NAME="getNumberFormat()"><!-- --></A><H3>getNumberFormat</H3><PRE>public java.text.NumberFormat <B>getNumberFormat</B>() throws <A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></PRE><DL><DD>A helper method to figure out what number format should be used to display the numbers value in a formatted text box.<P><DD><DL><DT><B>Returns:</B><DD>the number format<DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberClassNotFoundException</A></CODE> - if number class not supported</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberClassNotFoundException.html" title="class in weka.gui.ensembleLibraryEditor.tree"><B>PREV CLASS</B></A> <A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberNodeEditor.html" title="class in weka.gui.ensembleLibraryEditor.tree"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?weka/gui/ensembleLibraryEditor/tree/NumberNode.html" target="_top"><B>FRAMES</B></A> <A HREF="NumberNode.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -