org.sourceid.saml20.adapter.gui
Class AbstractSelectionFieldDescriptor
java.lang.Object
org.sourceid.saml20.adapter.gui.FieldDescriptor
org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- RadioGroupFieldDescriptor, SelectFieldDescriptor
public abstract class AbstractSelectionFieldDescriptor
- extends FieldDescriptor
An abstract base type for describing GUI fields that have multiple options the user can select from.
- Author:
- Brian Campbell
- See Also:
AdapterConfigurationGuiDescriptor.addField(FieldDescriptor)
,
AdapterConfigurationGuiDescriptor.addAdvancedField(FieldDescriptor)
,
TableDescriptor.addRowField(FieldDescriptor)
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
optionValues
protected java.util.List<AbstractSelectionFieldDescriptor.OptionValue> optionValues
AbstractSelectionFieldDescriptor
protected AbstractSelectionFieldDescriptor(java.lang.String name,
java.lang.String description,
java.lang.String[] optionValues)
- Create a new AbstractSelectionFieldDescriptor with the specified option values.
- Parameters:
name
- the field name (must be unique per AdapterConfigurationGuiDescriptor or TableDescriptor).description
- a helpful description of the field.optionValues
- a String array to build the OptionValue list from. One OptionValue will be created for each
value in the array and the name and value fields will be the same.
AbstractSelectionFieldDescriptor
protected AbstractSelectionFieldDescriptor(java.lang.String name,
java.lang.String description,
java.util.List<AbstractSelectionFieldDescriptor.OptionValue> optionValues)
- Create a new AbstractSelectionFieldDescriptor with the specified option values.
- Parameters:
name
- the field name (must be unique per AdapterConfigurationGuiDescriptor or TableDescriptor).description
- a helpful description of the field.optionValues
- a List of OptionValues that will make up the available options the user can choose from.
getOptionValues
public java.util.List<AbstractSelectionFieldDescriptor.OptionValue> getOptionValues()
- Gets the available option values for this field.
- Returns:
- the list of option values.
Copyright 2007 Ping Identity Corp. All rights reserved.