Package org.jppf.ui.options
Interface Option
- All Superinterfaces:
OptionElement,OptionProperties,Serializable
- All Known Implementing Classes:
AbstractOption,AbstractTreeTableOption,BooleanOption,ButtonOption,CodeEditorOption,ComboBoxOption,FileChooserOption,FillerOption,FormattedNumberOption,GraphOption,JavaOption,JobDataPanel,JVMHealthPanel,LabelOption,ListOption,NodeDataPanel,PasswordOption,PickListOption,PlainTextOption,PluggableViewOption,RadioButtonOption,SpinnerNumberOption,TextAreaOption,TextOption,ToolbarSeparatorOption
Instances of this interface represent one option in an options page.
- Author:
- Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()The value of this option.booleanDetermine whether the value of this option should be saved in the user preferences.Methods inherited from interface org.jppf.ui.options.OptionElement
findAllWithName, findElement, findFirstWithName, findLastWithName, getParent, getPath, getRoot, getStringPathMethods inherited from interface org.jppf.ui.options.OptionProperties
getComponentConstraints, getFinalizer, getIconPath, getInitializer, getLabel, getLayoutConstraints, getMouseListener, getName, getScripts, getToolTipText, getUIComponent, isBordered, isDetachable, isEventsEnabled, isScrollable, setComponentConstraints, setEditable, setEnabled, setEventsEnabled, setLayoutConstraints, setMouseListener
-
Method Details
-
getValue
Object getValue()The value of this option.- Returns:
- the value as an
Objectinstance.
-
isPersistent
boolean isPersistent()Determine whether the value of this option should be saved in the user preferences.- Returns:
- true if the value should be saved, false otherwise.
-