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

📄 arfftablemodel.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 3 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sets the data</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/arffviewer/ArffTableModel.html#setNotificationEnabled(boolean)">setNotificationEnabled</A></B>(boolean&nbsp;enabled)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/arffviewer/ArffTableModel.html#setUndoEnabled(boolean)">setUndoEnabled</A></B>(boolean&nbsp;enabled)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sets whether undo support is enabled</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;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&nbsp;aValue,           int&nbsp;rowIndex,           int&nbsp;columnIndex)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;aValue,           int&nbsp;rowIndex,           int&nbsp;columnIndex,           boolean&nbsp;notify)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/arffviewer/ArffTableModel.html#sortInstances(int)">sortInstances</A></B>(int&nbsp;columnIndex)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/arffviewer/ArffTableModel.html#undo()">undo</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;undoes the last action</TD></TR></TABLE>&nbsp;<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>&nbsp;<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&nbsp;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>&nbsp;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&nbsp;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&nbsp;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>&nbsp;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&nbsp;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&nbsp;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&nbsp;rowIndex,                   int&nbsp;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&nbsp;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&nbsp;columnIndex,                              boolean&nbsp;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[]&nbsp;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&nbsp;columnIndex,                              java.lang.String&nbsp;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&nbsp;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&nbsp;rowIndex,                             boolean&nbsp;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[]&nbsp;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 + -