operatortreemodel.html
来自「数据挖掘方面最新软件」· HTML 代码 · 共 645 行 · 第 1/2 页
HTML
645 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.5.0_13) on Mon Jul 14 01:34:24 CEST 2008 --><TITLE>OperatorTreeModel (RapidMiner Class Documentation)</TITLE><META NAME="keywords" CONTENT="com.rapidminer.gui.operatortree.OperatorTreeModel class"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="OperatorTreeModel (RapidMiner Class Documentation)";}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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="class-use/OperatorTreeModel.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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> </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="../../../../com/rapidminer/gui/operatortree/OperatorTreeCellRenderer.html" title="class in com.rapidminer.gui.operatortree"><B>PREV CLASS</B></A> <A HREF="../../../../com/rapidminer/gui/operatortree/TransferableOperator.html" title="class in com.rapidminer.gui.operatortree"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/rapidminer/gui/operatortree/OperatorTreeModel.html" target="_top"><B>FRAMES</B></A> <A HREF="OperatorTreeModel.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_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">com.rapidminer.gui.operatortree</FONT><BR>Class OperatorTreeModel</H2><PRE>java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.rapidminer.gui.operatortree.OperatorTreeModel</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD>javax.swing.tree.TreeModel</DD></DL><HR><DL><DT><PRE>public class <B>OperatorTreeModel</B><DT>extends java.lang.Object<DT>implements javax.swing.tree.TreeModel</DL></PRE><P>A TreeModel hiding an operator (which itself already has a tree-like structure). Most of the method calls delegate to an operator. Events can be fired when operators are inserted or removed. Operator trees are the main process editor of the RapidMiner GUI.<P><P><DL><DT><B>Version:</B></DT> <DD>$Id: OperatorTreeModel.java,v 2.10 2006/03/27 13:21:58 ingomierswa Exp $</DD><DT><B>Author:</B></DT> <DD>Ingo Mierswa, Simon Fischer</DD></DL><HR><P><!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#OperatorTreeModel(com.rapidminer.operator.Operator, com.rapidminer.gui.operatortree.OperatorTree)">OperatorTreeModel</A></B>(<A HREF="../../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A> root, <A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTree.html" title="class in com.rapidminer.gui.operatortree">OperatorTree</A> tree)</CODE><BR> Creates a new operator tree model.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#addTreeModelListener(javax.swing.event.TreeModelListener)">addTreeModelListener</A></B>(javax.swing.event.TreeModelListener l)</CODE><BR> Adds a tree model listener.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#fireOperatorChanged(java.lang.Object, javax.swing.tree.TreePath)">fireOperatorChanged</A></B>(java.lang.Object source, javax.swing.tree.TreePath path)</CODE><BR> Must be used to indicate that an operator was changed in some way.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#fireOperatorInserted(java.lang.Object, javax.swing.tree.TreePath, int, com.rapidminer.operator.Operator)">fireOperatorInserted</A></B>(java.lang.Object source, javax.swing.tree.TreePath path, int index, <A HREF="../../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A> operator)</CODE><BR> Must be used to indicate that a new operator was added.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#fireOperatorRemoved(java.lang.Object, javax.swing.tree.TreePath, int, com.rapidminer.operator.Operator)">fireOperatorRemoved</A></B>(java.lang.Object source, javax.swing.tree.TreePath path, int index, <A HREF="../../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A> operator)</CODE><BR> Must be used to indicate that an operator was removed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#fireOperatorRenamed(java.lang.Object, javax.swing.tree.TreePath)">fireOperatorRenamed</A></B>(java.lang.Object source, javax.swing.tree.TreePath path)</CODE><BR> Must be used to indicate that an operator was renamed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#fireStructureChanged(java.lang.Object, javax.swing.tree.TreePath)">fireStructureChanged</A></B>(java.lang.Object source, javax.swing.tree.TreePath path)</CODE><BR> Must be used to indicate that the tree structure has changed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#getChild(java.lang.Object, int)">getChild</A></B>(java.lang.Object parent, int index)</CODE><BR> Returns the child with the given index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#getChildCount(java.lang.Object)">getChildCount</A></B>(java.lang.Object parent)</CODE><BR> Returns the number of children operators.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#getIndexOfChild(java.lang.Object, java.lang.Object)">getIndexOfChild</A></B>(java.lang.Object parent, java.lang.Object child)</CODE><BR> Returns the index of the child operator with respect to the given parent.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#getRoot()">getRoot</A></B>()</CODE><BR> Returns the root operator.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#isLeaf(java.lang.Object)">isLeaf</A></B>(java.lang.Object node)</CODE><BR> Returns true if the operator is a leaf node, i.e. it does not have any children.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#removeTreeModelListener(javax.swing.event.TreeModelListener)">removeTreeModelListener</A></B>(javax.swing.event.TreeModelListener l)</CODE><BR> Removes the tree model listener.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#setShowDisabledOperators(boolean)">setShowDisabledOperators</A></B>(boolean show)</CODE><BR> Sets the state of showing diabled operators.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#showDisabledOperators()">showDisabledOperators</A></B>()</CODE><BR> Indicates if disabled operators should be displayed by the tree.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTreeModel.html#valueForPathChanged(javax.swing.tree.TreePath, java.lang.Object)">valueForPathChanged</A></B>(javax.swing.tree.TreePath path, java.lang.Object node)</CODE><BR> Will be invoked after editing changes of nodes, i.e. after renaming.</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>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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="OperatorTreeModel(com.rapidminer.operator.Operator, com.rapidminer.gui.operatortree.OperatorTree)"><!-- --></A><H3>OperatorTreeModel</H3><PRE>public <B>OperatorTreeModel</B>(<A HREF="../../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A> root, <A HREF="../../../../com/rapidminer/gui/operatortree/OperatorTree.html" title="class in com.rapidminer.gui.operatortree">OperatorTree</A> tree)</PRE><DL><DD>Creates a new operator tree model.<P></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="showDisabledOperators()"><!-- --></A><H3>showDisabledOperators</H3>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?