📄 arffpanel.html
字号:
<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the title for the tab</DL></DD></DL><HR><A NAME="getFilename()"><!-- --></A><H3>getFilename</H3><PRE>public java.lang.String <B>getFilename</B>()</PRE><DL><DD>returns the filename<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the filename</DL></DD></DL><HR><A NAME="setFilename(java.lang.String)"><!-- --></A><H3>setFilename</H3><PRE>public void <B>setFilename</B>(java.lang.String filename)</PRE><DL><DD>sets the filename<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filename</CODE> - the new filename</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 instances of the panel, if none then NULL<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the instances of the panel</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>displays the given instances, i.e. creates a tab with the title TAB_INSTANCES. if one already exists it closes it.<br> if a different instances object is used here, don't forget to clear the undo-history by calling <code>clearUndo()</code><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the instances to display<DT><B>See Also:</B><DD><A HREF="../../../weka/gui/arffviewer/ArffPanel.html#TAB_INSTANCES"><CODE>TAB_INSTANCES</CODE></A>, <A HREF="../../../weka/gui/arffviewer/ArffPanel.html#clearUndo()"><CODE>clearUndo()</CODE></A></DL></DD></DL><HR><A NAME="getAttributes()"><!-- --></A><H3>getAttributes</H3><PRE>public java.util.Vector <B>getAttributes</B>()</PRE><DL><DD>returns a list with the attributes<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a list of the attributes</DL></DD></DL><HR><A NAME="setChanged(boolean)"><!-- --></A><H3>setChanged</H3><PRE>public void <B>setChanged</B>(boolean changed)</PRE><DL><DD>can only reset the changed state to FALSE<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>changed</CODE> - if false, resets the changed state</DL></DD></DL><HR><A NAME="isChanged()"><!-- --></A><H3>isChanged</H3><PRE>public boolean <B>isChanged</B>()</PRE><DL><DD>returns whether the content of the panel was changed<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the content was changed</DL></DD></DL><HR><A NAME="isReadOnly()"><!-- --></A><H3>isReadOnly</H3><PRE>public boolean <B>isReadOnly</B>()</PRE><DL><DD>returns whether the model is read-only<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if model is read-only</DL></DD></DL><HR><A NAME="setReadOnly(boolean)"><!-- --></A><H3>setReadOnly</H3><PRE>public void <B>setReadOnly</B>(boolean value)</PRE><DL><DD>sets whether the model is read-only<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - if true the model is set to read-only</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><DT><B>Returns:</B><DD>true if undo is enabled</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><DT><B>Parameters:</B><DD><CODE>enabled</CODE> - whether to enable/disable undo support</DL></DD></DL><HR><A NAME="clearUndo()"><!-- --></A><H3>clearUndo</H3><PRE>public void <B>clearUndo</B>()</PRE><DL><DD>removes the undo history<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/Undoable.html#clearUndo()">clearUndo</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="canUndo()"><!-- --></A><H3>canUndo</H3><PRE>public boolean <B>canUndo</B>()</PRE><DL><DD>returns whether an undo is possible<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/Undoable.html#canUndo()">canUndo</A></CODE> in interface <CODE><A HREF="../../../weka/core/Undoable.html" title="interface in weka.core">Undoable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if undo is possible</DL></DD></DL><HR><A NAME="undo()"><!-- --></A><H3>undo</H3><PRE>public void <B>undo</B>()</PRE><DL><DD>performs an undo action<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/Undoable.html#undo()">undo</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="addUndoPoint()"><!-- --></A><H3>addUndoPoint</H3><PRE>public void <B>addUndoPoint</B>()</PRE><DL><DD>adds the current state of the instances to the undolist<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/Undoable.html#addUndoPoint()">addUndoPoint</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="deleteAttribute()"><!-- --></A><H3>deleteAttribute</H3><PRE>public void <B>deleteAttribute</B>()</PRE><DL><DD>deletes the currently selected attribute<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="deleteAttributes()"><!-- --></A><H3>deleteAttributes</H3><PRE>public void <B>deleteAttributes</B>()</PRE><DL><DD>deletes the chosen attributes<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="attributeAsClass()"><!-- --></A><H3>attributeAsClass</H3><PRE>public void <B>attributeAsClass</B>()</PRE><DL><DD>sets the current attribute as class attribute, i.e. it moves it to the end of the attributes<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="renameAttribute()"><!-- --></A><H3>renameAttribute</H3><PRE>public void <B>renameAttribute</B>()</PRE><DL><DD>renames the current attribute<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="deleteInstance()"><!-- --></A><H3>deleteInstance</H3><PRE>public void <B>deleteInstance</B>()</PRE><DL><DD>deletes the currently selected instance<P><DD><DL></DL></DD><DD><DL></DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -