类 ArffViewer

所有已实现的接口:
WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class ArffViewer extends JFrame implements WindowListener
A little tool for viewing ARFF files.
版本:
$Revision: 10438 $
作者:
FracPete (fracpete at waikato dot ac dot nz)
另请参阅:
  • 构造器详细资料

    • ArffViewer

      public ArffViewer()
      initializes the object
  • 方法详细资料

    • setCenteredLocation

      public void setCenteredLocation()
      positions the window at the center of the screen
    • setConfirmExit

      public void setConfirmExit(boolean confirm)
      whether to present a MessageBox on Exit or not
      参数:
      confirm - whether a MessageBox pops up or not to confirm exit
    • getConfirmExit

      public boolean getConfirmExit()
      returns the setting of whether to display a confirm messagebox or not on exit
      返回:
      whether a messagebox is displayed or not
    • setExitOnClose

      public void setExitOnClose(boolean value)
      whether to do a System.exit(0) on close
      参数:
      value - enables/disables the System.exit(0)
    • getExitOnClose

      public boolean getExitOnClose()
      returns TRUE if a System.exit(0) is done on a close
      返回:
      true if System.exit(0) is done
    • getMainPanel

      public ArffViewerMainPanel getMainPanel()
      returns the main panel
      返回:
      the main panel
    • refresh

      public void refresh()
      validates and repaints the frame
    • windowActivated

      public void windowActivated(WindowEvent e)
      invoked when a window is activated
      指定者:
      windowActivated 在接口中 WindowListener
      参数:
      e - the window event
    • windowClosed

      public void windowClosed(WindowEvent e)
      invoked when a window is closed
      指定者:
      windowClosed 在接口中 WindowListener
      参数:
      e - the window event
    • windowClosing

      public void windowClosing(WindowEvent e)
      invoked when a window is in the process of closing
      指定者:
      windowClosing 在接口中 WindowListener
      参数:
      e - the window event
    • windowDeactivated

      public void windowDeactivated(WindowEvent e)
      invoked when a window is deactivated
      指定者:
      windowDeactivated 在接口中 WindowListener
      参数:
      e - the window event
    • windowDeiconified

      public void windowDeiconified(WindowEvent e)
      invoked when a window is deiconified
      指定者:
      windowDeiconified 在接口中 WindowListener
      参数:
      e - the window event
    • windowIconified

      public void windowIconified(WindowEvent e)
      invoked when a window is iconified
      指定者:
      windowIconified 在接口中 WindowListener
      参数:
      e - the window event
    • windowOpened

      public void windowOpened(WindowEvent e)
      invoked when a window is has been opened
      指定者:
      windowOpened 在接口中 WindowListener
      参数:
      e - the window event
    • toString

      public String toString()
      returns only the classname
      覆盖:
      toString 在类中 Component
      返回:
      the classname
    • main

      public static void main(String[] args) throws Exception
      shows the frame and it tries to load all the arff files that were provided as arguments.
      参数:
      args - the commandline parameters
      抛出:
      Exception - if something goes wrong