📄 visualizepanel.html
字号:
<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index for the y axis<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if index is out of range.</DL></DD></DL><HR><A NAME="getYIndex()"><!-- --></A><H3>getYIndex</H3><PRE>public int <B>getYIndex</B>()</PRE><DL><DD>Get the index of the attribute on the y axis<P><DD><DL><DT><B>Returns:</B><DD>the index of the attribute on the x axis</DL></DD></DL><HR><A NAME="getCIndex()"><!-- --></A><H3>getCIndex</H3><PRE>public int <B>getCIndex</B>()</PRE><DL><DD>Get the index of the attribute selected for coloring<P><DD><DL><DT><B>Returns:</B><DD>the index of the attribute on the x axis</DL></DD></DL><HR><A NAME="getSIndex()"><!-- --></A><H3>getSIndex</H3><PRE>public int <B>getSIndex</B>()</PRE><DL><DD>Get the index of the shape selected for creating splits.<P><DD><DL><DT><B>Returns:</B><DD>The index of the shape.</DL></DD></DL><HR><A NAME="setSIndex(int)"><!-- --></A><H3>setSIndex</H3><PRE>public void <B>setSIndex</B>(int index) throws java.lang.Exception</PRE><DL><DD>Set the shape for creating splits.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the shape.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if index is out of range.</DL></DD></DL><HR><A NAME="addActionListener(java.awt.event.ActionListener)"><!-- --></A><H3>addActionListener</H3><PRE>public void <B>addActionListener</B>(java.awt.event.ActionListener act)</PRE><DL><DD>Add a listener for this visualize panel<P><DD><DL><DT><B>Parameters:</B><DD><CODE>act</CODE> - an ActionListener</DL></DD></DL><HR><A NAME="setName(java.lang.String)"><!-- --></A><H3>setName</H3><PRE>public void <B>setName</B>(java.lang.String plotName)</PRE><DL><DD>Set a name for this plot<P><DD><DL><DT><B>Parameters:</B><DD><CODE>plotName</CODE> - the name for the plot</DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public java.lang.String <B>getName</B>()</PRE><DL><DD>Returns the name associated with this plot. "" is returned if no name is set.<P><DD><DL><DT><B>Returns:</B><DD>the name of the plot</DL></DD></DL><HR><A NAME="getInstances()"><!-- --></A><H3>getInstances</H3><PRE>public <A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A> <B>getInstances</B>()</PRE><DL><DD>Get the master plot's instances<P><DD><DL><DT><B>Returns:</B><DD>the master plot's instances</DL></DD></DL><HR><A NAME="setShapes(weka.core.FastVector)"><!-- --></A><H3>setShapes</H3><PRE>public void <B>setShapes</B>(<A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> l)</PRE><DL><DD>This will set the shapes for the instances.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>l</CODE> - A list of the shapes, providing that the objects in the lists are non editable the data will be kept intact.</DL></DD></DL><HR><A NAME="setInstances(weka.core.Instances)"><!-- --></A><H3>setInstances</H3><PRE>public void <B>setInstances</B>(<A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A> inst)</PRE><DL><DD>Tells the panel to use a new set of instances.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>inst</CODE> - a set of Instances</DL></DD></DL><HR><A NAME="setUpComboBoxes(weka.core.Instances)"><!-- --></A><H3>setUpComboBoxes</H3><PRE>public void <B>setUpComboBoxes</B>(<A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A> inst)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setMasterPlot(weka.gui.visualize.PlotData2D)"><!-- --></A><H3>setMasterPlot</H3><PRE>public void <B>setMasterPlot</B>(<A HREF="../../../weka/gui/visualize/PlotData2D.html" title="class in weka.gui.visualize">PlotData2D</A> newPlot) throws java.lang.Exception</PRE><DL><DD>Set the master plot for the visualize panel<P><DD><DL><DT><B>Parameters:</B><DD><CODE>newPlot</CODE> - the new master plot<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the master plot could not be set</DL></DD></DL><HR><A NAME="addPlot(weka.gui.visualize.PlotData2D)"><!-- --></A><H3>addPlot</H3><PRE>public void <B>addPlot</B>(<A HREF="../../../weka/gui/visualize/PlotData2D.html" title="class in weka.gui.visualize">PlotData2D</A> newPlot) throws java.lang.Exception</PRE><DL><DD>Set a new plot to the visualize panel<P><DD><DL><DT><B>Parameters:</B><DD><CODE>newPlot</CODE> - the new plot to add<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the plot could not be added</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[] args)</PRE><DL><DD>Main method for testing this class<P><DD><DL></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=3 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="../../../../Tutorial.pdf"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/index.html"><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/visualize/ThresholdVisualizePanel.html" title="class in weka.gui.visualize"><B>PREV CLASS</B></A> <A HREF="../../../weka/gui/visualize/VisualizePanelEvent.html" title="class in weka.gui.visualize"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="VisualizePanel.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: <A HREF="#nested_classes_inherited_from_class_javax.swing.JComponent">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.JComponent">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 + -