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

public interface Option extends OptionElement
Instances of this interface represent one option in an options page.
Author:
Laurent Cohen
  • Method Details

    • 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.