org.jppf.ui.options
Interface Option

All Superinterfaces:
OptionElement, OptionProperties, Serializable
All Known Implementing Classes:
AbstractOption, AbstractTreeTableOption, BooleanOption, ButtonOption, ComboBoxOption, FileChooserOption, FillerOption, FormattedNumberOption, JavaOption, JobDataPanel, LabelOption, ListOption, NodeDataPanel, PasswordOption, PlainTextOption, RadioButtonOption, SpinnerNumberOption, TextAreaOption, TextOption, ToolbarSeparatorOption

public interface Option
extends OptionElement

Instances of this interface represent one option in an options page.

Author:
Laurent Cohen

Method Summary
 Object getValue()
          The value of this option.
 boolean isPersistent()
          Determine 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, getStringPath
 
Methods inherited from interface org.jppf.ui.options.OptionProperties
getComponentConstraints, getFinalizer, getIconPath, getInitializer, getLabel, getLayoutConstraints, getName, getScripts, getToolTipText, getUIComponent, isBordered, isEventsEnabled, isScrollable, setComponentConstraints, setEditable, setEnabled, setEventsEnabled, setLayoutConstraints
 

Method Detail

getValue

Object getValue()
The value of this option.

Returns:
the value as an Object instance.

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.


Copyright © 2005-2010 JPPF Team.