📄 propertynode.html
字号:
<TH ALIGN="left"><B>Methods inherited from class javax.swing.tree.DefaultMutableTreeNode</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="PropertyNode(javax.swing.JTree, weka.gui.ensembleLibraryEditor.AddModelsPanel, java.lang.String, java.lang.String, java.lang.Object, java.beans.PropertyEditor)"><!-- --></A><H3>PropertyNode</H3><PRE>public <B>PropertyNode</B>(javax.swing.JTree tree, <A HREF="../../../../weka/gui/ensembleLibraryEditor/AddModelsPanel.html" title="class in weka.gui.ensembleLibraryEditor">AddModelsPanel</A> panel, java.lang.String name, java.lang.String toolTipText, java.lang.Object value, java.beans.PropertyEditor pe)</PRE><DL><DD>The constructor initialiazes the member variables of this node, Note that the "value" of this generic object is stored as the treeNode user object. After the values are initialized the constructor calls the addEditorNodes to create all the child nodes necessary to allow users to specify ranges of parameter values meaningful for the parameter that this node represents.<P><DL><DT><B>Parameters:</B><DD><CODE>tree</CODE> - the tree to use<DD><CODE>panel</CODE> - the pabel<DD><CODE>name</CODE> - the name<DD><CODE>toolTipText</CODE> - the tooltip<DD><CODE>value</CODE> - the actual value<DD><CODE>pe</CODE> - the property editor</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><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="getName()"><!-- --></A><H3>getName</H3><PRE>public java.lang.String <B>getName</B>()</PRE><DL><DD>getter for the name to be displayed for this node<P><DD><DL><DT><B>Returns:</B><DD>the name</DL></DD></DL><HR><A NAME="getPropertyEditor()"><!-- --></A><H3>getPropertyEditor</H3><PRE>public java.beans.PropertyEditor <B>getPropertyEditor</B>()</PRE><DL><DD>this returns the property editor that was provided for this object. This propertyEditor object is initially chosen inside of the GenericObjectNode updateTree() method if you are interested in where it comes from.<P><DD><DL><DT><B>Returns:</B><DD>the default editor for this node</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="addEditorNodes(java.lang.String, java.lang.String)"><!-- --></A><H3>addEditorNodes</H3><PRE>public void <B>addEditorNodes</B>(java.lang.String name, java.lang.String toolTipText)</PRE><DL><DD>This method figures out what kind of parameter type this node represents and then creates the appropriate set of child nodes for editing.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name<DD><CODE>toolTipText</CODE> - the tooltip</DL></DD></DL><HR><A NAME="getAllValues()"><!-- --></A><H3>getAllValues</H3><PRE>public java.util.Vector <B>getAllValues</B>()</PRE><DL><DD>This method gets the range of values as specified by the child editor nodes.<P><DD><DL><DT><B>Returns:</B><DD>all values</DL></DD></DL><HR><A NAME="canSelect(weka.gui.ensembleLibraryEditor.tree.NumberNode)"><!-- --></A><H3>canSelect</H3><PRE>public boolean <B>canSelect</B>(<A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/NumberNode.html" title="class in weka.gui.ensembleLibraryEditor.tree">NumberNode</A> node)</PRE><DL><DD>This method informs a child number node whether or not it is allowed to be selected. NumberNodes are the only ones that need to ask permission first. This simply makes sure that iterator nodes can't be selected when the max node is not selected.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>node</CODE> - the node to check<DT><B>Returns:</B><DD>true of the node can be selected</DL></DD></DL><HR><A NAME="canDeselect(javax.swing.tree.DefaultMutableTreeNode)"><!-- --></A><H3>canDeselect</H3><PRE>public boolean <B>canDeselect</B>(javax.swing.tree.DefaultMutableTreeNode node)</PRE><DL><DD>informs a requesting child node whether or not it has permission to be deselected. Note that only NumberNodes and CheckBoxNodes are the only one's that have any notion of being deselected and therefore should be the only one's calling this method.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>node</CODE> - the node to check<DT><B>Returns:</B><DD>true if it can be de-selected</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/NumberNodeEditor.html" title="class in weka.gui.ensembleLibraryEditor.tree"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?weka/gui/ensembleLibraryEditor/tree/PropertyNode.html" target="_top"><B>FRAMES</B></A> <A HREF="PropertyNode.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="#fields_inherited_from_class_javax.swing.tree.DefaultMutableTreeNode">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: FIELD | <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 + -