📄 arffpanel.html
字号:
</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/ArffPanel.html#notifyListener()">notifyListener</A></B>()</CODE><BR> notfies all listener of the change</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/ArffPanel.html#removeChangeListener(javax.swing.event.ChangeListener)">removeChangeListener</A></B>(javax.swing.event.ChangeListener l)</CODE><BR> Removes a ChangeListener from the panel</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/ArffPanel.html#search()">search</A></B>()</CODE><BR> searches for a string in the cells</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/ArffPanel.html#setChanged(boolean)">setChanged</A></B>(boolean changed)</CODE><BR> can only reset the changed state to FALSE</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/ArffPanel.html#setFilename(java.lang.String)">setFilename</A></B>(java.lang.String filename)</CODE><BR> sets the filename</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/ArffPanel.html#setInstances(weka.core.Instances)">setInstances</A></B>(<A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A> data)</CODE><BR> displays the given instances, i.e.</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/ArffPanel.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/ArffPanel.html#sortInstances()">sortInstances</A></B>()</CODE><BR> sorts the instances via the currently selected column</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/ArffPanel.html#stateChanged(javax.swing.event.ChangeEvent)">stateChanged</A></B>(javax.swing.event.ChangeEvent e)</CODE><BR> Invoked when the target of the listener has changed its state.</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/ArffPanel.html#undo()">undo</A></B>()</CODE><BR> performs an undo action</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.JPanel"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.JPanel</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getAccessibleContext, getUI, getUIClassID, setUI, updateUI</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.JComponent"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.JComponent</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.awt.Container</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.awt.Component</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle</CODE></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, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="TAB_INSTANCES"><!-- --></A><H3>TAB_INSTANCES</H3><PRE>public static final java.lang.String <B>TAB_INSTANCES</B></PRE><DL><DD>the name of the tab for instances that were set directly<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.gui.arffviewer.ArffPanel.TAB_INSTANCES">Constant Field Values</A></DL></DL><!-- ========= 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="ArffPanel()"><!-- --></A><H3>ArffPanel</H3><PRE>public <B>ArffPanel</B>()</PRE><DL><DD>initializes the panel with no data<P></DL><HR><A NAME="ArffPanel(java.lang.String)"><!-- --></A><H3>ArffPanel</H3><PRE>public <B>ArffPanel</B>(java.lang.String filename)</PRE><DL><DD>initializes the panel and loads the specified file<P></DL><HR><A NAME="ArffPanel(weka.core.Instances)"><!-- --></A><H3>ArffPanel</H3><PRE>public <B>ArffPanel</B>(<A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A> data)</PRE><DL><DD>initializes the panel 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="getTable()"><!-- --></A><H3>getTable</H3><PRE>public <A HREF="../../../weka/gui/arffviewer/ArffTable.html" title="class in weka.gui.arffviewer">ArffTable</A> <B>getTable</B>()</PRE><DL><DD>returns the table component<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getTitle()"><!-- --></A><H3>getTitle</H3><PRE>public java.lang.String <B>getTitle</B>()</PRE><DL><DD>returns the title for the Tab, i.e. the filename<P><DD><DL></DL></DD><DD><DL></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></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></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></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>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></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></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></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="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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -