All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.gui.PropertySelectorDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----javax.swing.JDialog
|
+----weka.gui.PropertySelectorDialog
- public class PropertySelectorDialog
- extends javax.swing.JDialog
Allows the user to select any (supported) property of an object, including
properties that any of it's property values may have.
- Version:
- $Revision: 1.5 $
- Author:
- Len Trigg (trigg@cs.waikato.ac.nz)
APPROVE_OPTION- Signifies an OK property selection
CANCEL_OPTION- Signifies a cancelled property selection
PropertySelectorDialog(Frame, Object)
- Create the property selection dialog.
getPath()
- Gets the path of property nodes to the selected property.
main(String[])
- Tests out the property selector from the command line.
showDialog()
- Pops up the modal dialog and waits for cancel or a selection.
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(java.awt.Frame parentFrame,
java.lang.Object rootObject)
Create the property selection dialog.
- Parameters:
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.
- Returns:
- either APPROVE_OPTION, or CANCEL_OPTION
getPath
public PropertyNode[] getPath()
Gets the path of property nodes to the selected property.
- Returns:
- an array of PropertyNodes
main
public static void main(java.lang.String args[])
Tests out the property selector from the command line.
- Parameters:
args
- ignored
All Packages Class Hierarchy This Package Previous Next Index WEKA's home