⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modeltreenodeeditor.html

📁 weka是机器学习和数据挖掘领域最有影响力的开源项目之一
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<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>&nbsp;<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&nbsp;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&nbsp;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&nbsp;tree,                                                     java.lang.Object&nbsp;value,                                                     boolean&nbsp;selected,                                                     boolean&nbsp;expanded,                                                     boolean&nbsp;leaf,                                                     int&nbsp;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&nbsp;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&nbsp;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&nbsp;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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../weka/gui/ensembleLibraryEditor/tree/InvalidInputException.html" title="class in weka.gui.ensembleLibraryEditor.tree"><B>PREV CLASS</B></A>&nbsp;&nbsp;<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>  &nbsp;&nbsp;<A HREF="ModelTreeNodeEditor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -