程序包 weka.gui

类 ViewerDialog

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

public class ViewerDialog extends JDialog implements ChangeListener
A downsized version of the ArffViewer, displaying only one Instances-Object.
版本:
$Revision: 7904 $
作者:
FracPete (fracpete at waikato dot ac dot nz)
另请参阅:
  • 字段详细资料

    • APPROVE_OPTION

      public static final int APPROVE_OPTION
      Signifies an OK property selection
      另请参阅:
    • CANCEL_OPTION

      public static final int CANCEL_OPTION
      Signifies a cancelled property selection
      另请参阅:
  • 构造器详细资料

    • ViewerDialog

      public ViewerDialog(Frame parent)
      initializes the dialog with the given parent
      参数:
      parent - the parent for this dialog
  • 方法详细资料

    • setInstances

      public void setInstances(Instances inst)
      sets the instances to display
    • getInstances

      public Instances getInstances()
      returns the currently displayed instances
    • isChanged

      public boolean isChanged()
      returns whether the data has been changed
      返回:
      true if the data has been changed
    • stateChanged

      public void stateChanged(ChangeEvent e)
      Invoked when the target of the listener has changed its state.
      指定者:
      stateChanged 在接口中 ChangeListener
    • showDialog

      public int showDialog()
      Pops up the modal dialog and waits for Cancel or OK.
      返回:
      either APPROVE_OPTION, or CANCEL_OPTION
    • showDialog

      public int showDialog(Instances inst)
      Pops up the modal dialog and waits for Cancel or OK.
      参数:
      inst - the instances to display
      返回:
      either APPROVE_OPTION, or CANCEL_OPTION