📄 modeltreenodeeditor.html
字号:
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.CellEditor"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface javax.swing.CellEditor</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>addCellEditorListener, cancelCellEditing, removeCellEditorListener, shouldSelectCell, stopCellEditing</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="ModelTreeNodeEditor(javax.swing.JTree)"><!-- --></A><H3>ModelTreeNodeEditor</H3><PRE>public <B>ModelTreeNodeEditor</B>(javax.swing.JTree tree)</PRE><DL><DD>default Constructor<P><DL><DT><B>Parameters:</B><DD><CODE>tree</CODE> - the tree to use</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="getCellEditorValue()"><!-- --></A><H3>getCellEditorValue</H3><PRE>public java.lang.Object <B>getCellEditorValue</B>()</PRE><DL><DD>I'm supposed to implemnent this as part of the TreeCellEDitor interface. however, it's not necessary for this class so it returns null.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getCellEditorValue</CODE> in interface <CODE>javax.swing.CellEditor</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>always null</DL></DD></DL><HR><A NAME="isCellEditable(java.util.EventObject)"><!-- --></A><H3>isCellEditable</H3><PRE>public boolean <B>isCellEditable</B>(java.util.EventObject event)</PRE><DL><DD>This tells the JTree whether or not to let nodes in the tree be edited. Basically all this does is return true for all nodes that aren't PropertyNodes - which don't have any interactive widgets<P><DD><DL><DT><B>Specified by:</B><DD><CODE>isCellEditable</CODE> in interface <CODE>javax.swing.CellEditor</CODE><DT><B>Overrides:</B><DD><CODE>isCellEditable</CODE> in class <CODE>javax.swing.AbstractCellEditor</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>event</CODE> - the event<DT><B>Returns:</B><DD>true if editable</DL></DD></DL><HR><A NAME="getTreeCellEditorComponent(javax.swing.JTree, java.lang.Object, boolean, boolean, boolean, int)"><!-- --></A><H3>getTreeCellEditorComponent</H3><PRE>public java.awt.Component <B>getTreeCellEditorComponent</B>(javax.swing.JTree tree, java.lang.Object value, boolean selected, boolean expanded, boolean leaf, int row)</PRE><DL><DD>This method uses the ModelTreeNodeRenderer class to get the individual editors and then registers this classes editing event listeners with them<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getTreeCellEditorComponent</CODE> in interface <CODE>javax.swing.tree.TreeCellEditor</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tree</CODE> - the associated tree<DD><CODE>value</CODE> - the value<DD><CODE>selected</CODE> - true if item is selected<DD><CODE>expanded</CODE> - true if it is expanded<DD><CODE>leaf</CODE> - true if it is a leaf<DD><CODE>row</CODE> - the row in the tree<DT><B>Returns:</B><DD>the rendering component</DL></DD></DL><HR><A NAME="itemStateChanged(java.awt.event.ItemEvent)"><!-- --></A><H3>itemStateChanged</H3><PRE>public void <B>itemStateChanged</B>(java.awt.event.ItemEvent e)</PRE><DL><DD>The item Listener that gets registered with all node editors that have a widget that had itemStateChangeg events. It just fires the editing stopped event.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>itemStateChanged</CODE> in interface <CODE>java.awt.event.ItemListener</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - the event</DL></DD></DL><HR><A NAME="propertyChange(java.beans.PropertyChangeEvent)"><!-- --></A><H3>propertyChange</H3><PRE>public void <B>propertyChange</B>(java.beans.PropertyChangeEvent evt)</PRE><DL><DD>The prtopertyListener that gets registered with all node editors that have a widget that had propertyStateChangeg events. It just fires the editing stopped event.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>propertyChange</CODE> in interface <CODE>java.beans.PropertyChangeListener</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>evt</CODE> - the event</DL></DD></DL><HR><A NAME="actionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>actionPerformed</H3><PRE>public void <B>actionPerformed</B>(java.awt.event.ActionEvent e)</PRE><DL><DD>The item Listener that gets registered with all node editors that have a widget that had actionPerformed events. It just fires the editing stopped event.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>actionPerformed</CODE> in interface <CODE>java.awt.event.ActionListener</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - the event</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/InvalidInputException.html" title="class in weka.gui.ensembleLibraryEditor.tree"><B>PREV CLASS</B></A> <A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/ModelTreeNodeRenderer.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/ModelTreeNodeEditor.html" target="_top"><B>FRAMES</B></A> <A HREF="ModelTreeNodeEditor.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 | FIELD | <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 + -