📄 arfftablemodel.html
字号:
renames the attribute at the given col index</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="../../../weka/gui/arffviewer/ArffTableModel.html#setInstances(weka.core.Instances)">setInstances</A></B>(<A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A> data)</CODE><BR> sets the data</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="../../../weka/gui/arffviewer/ArffTableModel.html#setNotificationEnabled(boolean)">setNotificationEnabled</A></B>(boolean enabled)</CODE><BR> sets whether the notification of changes is enabled</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="../../../weka/gui/arffviewer/ArffTableModel.html#setUndoEnabled(boolean)">setUndoEnabled</A></B>(boolean enabled)</CODE><BR> sets whether undo support is enabled</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="../../../weka/gui/arffviewer/ArffTableModel.html#setValueAt(java.lang.Object, int, int)">setValueAt</A></B>(java.lang.Object aValue, int rowIndex, int columnIndex)</CODE><BR> sets the value in the cell at columnIndex and rowIndex to aValue.</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="../../../weka/gui/arffviewer/ArffTableModel.html#setValueAt(java.lang.Object, int, int, boolean)">setValueAt</A></B>(java.lang.Object aValue, int rowIndex, int columnIndex, boolean notify)</CODE><BR> sets the value in the cell at columnIndex and rowIndex to aValue.</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="../../../weka/gui/arffviewer/ArffTableModel.html#sortInstances(int)">sortInstances</A></B>(int columnIndex)</CODE><BR> sorts the instances via the given attribute</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="../../../weka/gui/arffviewer/ArffTableModel.html#undo()">undo</A></B>()</CODE><BR> undoes the last action</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"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ArffTableModel(java.lang.String)"><!-- --></A><H3>ArffTableModel</H3><PRE>public <B>ArffTableModel</B>(java.lang.String filename)</PRE><DL><DD>initializes the object and loads the given file<P></DL><HR><A NAME="ArffTableModel(weka.core.Instances)"><!-- --></A><H3>ArffTableModel</H3><PRE>public <B>ArffTableModel</B>(<A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A> data)</PRE><DL><DD>initializes the model with the given data<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="isNotificationEnabled()"><!-- --></A><H3>isNotificationEnabled</H3><PRE>public boolean <B>isNotificationEnabled</B>()</PRE><DL><DD>returns whether the notification of changes is enabled<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setNotificationEnabled(boolean)"><!-- --></A><H3>setNotificationEnabled</H3><PRE>public void <B>setNotificationEnabled</B>(boolean enabled)</PRE><DL><DD>sets whether the notification of changes is enabled<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isUndoEnabled()"><!-- --></A><H3>isUndoEnabled</H3><PRE>public boolean <B>isUndoEnabled</B>()</PRE><DL><DD>returns whether undo support is enabled<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/Undoable.html#isUndoEnabled()">isUndoEnabled</A></CODE> in interface <CODE><A HREF="../../../weka/core/Undoable.html" title="interface in weka.core">Undoable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setUndoEnabled(boolean)"><!-- --></A><H3>setUndoEnabled</H3><PRE>public void <B>setUndoEnabled</B>(boolean enabled)</PRE><DL><DD>sets whether undo support is enabled<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/Undoable.html#setUndoEnabled(boolean)">setUndoEnabled</A></CODE> in interface <CODE><A HREF="../../../weka/core/Undoable.html" title="interface in weka.core">Undoable</A></CODE></DL></DD><DD><DL></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> data)</PRE><DL><DD>sets the data<P><DD><DL></DL></DD><DD><DL></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>returns the data<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAttributeAt(int)"><!-- --></A><H3>getAttributeAt</H3><PRE>public <A HREF="../../../weka/core/Attribute.html" title="class in weka.core">Attribute</A> <B>getAttributeAt</B>(int columnIndex)</PRE><DL><DD>returns the attribute at the given index, can be NULL if not an attribute column<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getType(int)"><!-- --></A><H3>getType</H3><PRE>public int <B>getType</B>(int columnIndex)</PRE><DL><DD>returns the TYPE of the attribute at the given position<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getType(int, int)"><!-- --></A><H3>getType</H3><PRE>public int <B>getType</B>(int rowIndex, int columnIndex)</PRE><DL><DD>returns the TYPE of the attribute at the given position<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="deleteAttributeAt(int)"><!-- --></A><H3>deleteAttributeAt</H3><PRE>public void <B>deleteAttributeAt</B>(int columnIndex)</PRE><DL><DD>deletes the attribute at the given col index. notifies the listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>columnIndex</CODE> - the index of the attribute to delete</DL></DD></DL><HR><A NAME="deleteAttributeAt(int, boolean)"><!-- --></A><H3>deleteAttributeAt</H3><PRE>public void <B>deleteAttributeAt</B>(int columnIndex, boolean notify)</PRE><DL><DD>deletes the attribute at the given col index<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>columnIndex</CODE> - the index of the attribute to delete<DD><CODE>notify</CODE> - whether to notify the listeners</DL></DD></DL><HR><A NAME="deleteAttributes(int[])"><!-- --></A><H3>deleteAttributes</H3><PRE>public void <B>deleteAttributes</B>(int[] columnIndices)</PRE><DL><DD>deletes the attributes at the given indices<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="renameAttributeAt(int, java.lang.String)"><!-- --></A><H3>renameAttributeAt</H3><PRE>public void <B>renameAttributeAt</B>(int columnIndex, java.lang.String newName)</PRE><DL><DD>renames the attribute at the given col index<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="deleteInstanceAt(int)"><!-- --></A><H3>deleteInstanceAt</H3><PRE>public void <B>deleteInstanceAt</B>(int rowIndex)</PRE><DL><DD>deletes the instance at the given index<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="deleteInstanceAt(int, boolean)"><!-- --></A><H3>deleteInstanceAt</H3><PRE>public void <B>deleteInstanceAt</B>(int rowIndex, boolean notify)</PRE><DL><DD>deletes the instance at the given index<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="deleteInstances(int[])"><!-- --></A><H3>deleteInstances</H3><PRE>public void <B>deleteInstances</B>(int[] rowIndices)</PRE><DL><DD>deletes the instances at the given positions<P><DD><DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -