org.jppf.ui.options.xml
Class OptionDescriptor

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

public class OptionDescriptor
extends TypedProperties

Instances of this class are used to represented an XML document describing an options page.

Author:
Laurent Cohen
See Also:
Serialized Form

Nested Class Summary
static class OptionDescriptor.ItemDescriptor
          Descriptor for listeners set on option elements.
static class OptionDescriptor.ListenerDescriptor
          Descriptor for listeners set on option elements.
static class OptionDescriptor.ScriptDescriptor
          Descriptor for script elements.
 
Field Summary
 List<OptionDescriptor> children
          Children of this option element.
 OptionDescriptor.ListenerDescriptor finalizer
          Finalizer.
 String i18n
          Path to the folder containing the localized resource bundles for a page (doesn't apply to non-page elements).
 OptionDescriptor.ListenerDescriptor initializer
          Initializer.
 List<OptionDescriptor.ItemDescriptor> items
          Items used in list boxes or combo boxes.
 List<OptionDescriptor.ListenerDescriptor> listeners
          Listeners of this option element.
 String name
          Name of the option element.
 List<OptionDescriptor.ScriptDescriptor> scripts
          Items used in list boxes or combo boxes.
 String type
          Type of option component.
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
OptionDescriptor()
           
 
Method Summary
 
Methods inherited from class org.jppf.utils.TypedProperties
asString, getBoolean, getBoolean, getChar, getChar, getDouble, getDouble, getFloat, getFloat, getInetAddress, getInetAddress, getInt, getInt, getLong, getLong, getProperties, getProperties, getString, getString, loadString
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public String type
Type of option component. The possible values are:


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

public List<OptionDescriptor.ListenerDescriptor> listeners
Listeners of this option element.


items

public List<OptionDescriptor.ItemDescriptor> items
Items used in list boxes or combo boxes.


scripts

public List<OptionDescriptor.ScriptDescriptor> scripts
Items used in list boxes or combo boxes.


initializer

public OptionDescriptor.ListenerDescriptor initializer
Initializer.


finalizer

public OptionDescriptor.ListenerDescriptor finalizer
Finalizer.

Constructor Detail

OptionDescriptor

public OptionDescriptor()


Copyright © 2005-2010 JPPF Team.