Class OptionDescriptor

java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
org.jppf.utils.AbstractTypedProperties
org.jppf.utils.TypedProperties
org.jppf.ui.options.xml.OptionDescriptor
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class OptionDescriptor extends org.jppf.utils.TypedProperties
Instances of this class are used to represented an XML document describing an options page.
Author:
Laurent Cohen
See Also:
  • Field Details

    • type

      public String type
      Type of option component. The possible values are:
      • "page" for an options page
      • "FormattedNumber" for a formatted number text field
      • "SpinnerNumber" for numbers edited with a spinner control
      • "TextArea" for a text area option
      • "Boolean" for a checkbox option
      • "ComboBox" for dropdown lists
      • "PlainText" for a simple, single-line text field
      • "Button" for a button
      • "Password" for a password field
    • name

      public String name
      Name of the option element.
    • i18n

      public String i18n
      Path to the folder containing the localized resource bundles for a page (doesn't apply to non-page elements).
    • children

      public List<OptionDescriptor> children
      Children of this option element.
    • listeners

      Listeners of this option element.
    • items

      Items used in list boxes or combo boxes.
    • scripts

      Items used in list boxes or combo boxes.
    • initializer

      Initializer.
    • finalizer

      Finalizer.
    • mouseListener

      Mouse listener.
    • debug

      public boolean debug
      Component shown only When debug attribute is true.
  • Constructor Details

    • OptionDescriptor

      public OptionDescriptor()