程序包 weka.gui

类 PropertySelectorDialog

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

public class PropertySelectorDialog extends JDialog
Allows the user to select any (supported) property of an object, including properties that any of it's property values may have.
版本:
$Revision: 7899 $
作者:
Len Trigg (trigg@cs.waikato.ac.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
      另请参阅:
  • 构造器详细资料

    • PropertySelectorDialog

      public PropertySelectorDialog(Frame parentFrame, Object rootObject)
      Create the property selection dialog.
      参数:
      parentFrame - the parent frame of the dialog
      rootObject - the object containing properties to select from
  • 方法详细资料

    • showDialog

      public int showDialog()
      Pops up the modal dialog and waits for cancel or a selection.
      返回:
      either APPROVE_OPTION, or CANCEL_OPTION
    • getPath

      public PropertyNode[] getPath()
      Gets the path of property nodes to the selected property.
      返回:
      an array of PropertyNodes
    • main

      public static void main(String[] args)
      Tests out the property selector from the command line.
      参数:
      args - ignored