org.sourceid.saml20.adapter.gui
Class SelectFieldDescriptor
java.lang.Object
org.sourceid.saml20.adapter.gui.FieldDescriptor
org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
org.sourceid.saml20.adapter.gui.SelectFieldDescriptor
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- CustomSourceFieldDescriptor, JdbcDatastoreFieldDescriptor, LdapDatastoreFieldDescriptor
public class SelectFieldDescriptor
- extends AbstractSelectionFieldDescriptor
A field descriptor that will render a select (drop down) field on the GUI configuration screen.
- 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 |
SELECT_ONE
public static final AbstractSelectionFieldDescriptor.OptionValue SELECT_ONE
- Add this OptionValue as the first in the OptionValue list if you want the select box to contain a
'-- Select One --' option with an empty value.
SelectFieldDescriptor
protected SelectFieldDescriptor(java.lang.String name,
java.lang.String description)
SelectFieldDescriptor
public SelectFieldDescriptor(java.lang.String name,
java.lang.String description,
java.lang.String[] optionValues)
- Create a new SelectFieldDescriptor 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.
SelectFieldDescriptor
public SelectFieldDescriptor(java.lang.String name,
java.lang.String description,
java.util.List<AbstractSelectionFieldDescriptor.OptionValue> optionValues)
- Create a new SelectFieldDescriptor 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.
Copyright 2007 Ping Identity Corp. All rights reserved.