org.sourceid.saml20.adapter.gui
Class RadioGroupFieldDescriptor

java.lang.Object
  extended by org.sourceid.saml20.adapter.gui.FieldDescriptor
      extended by org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
          extended by org.sourceid.saml20.adapter.gui.RadioGroupFieldDescriptor
All Implemented Interfaces:
java.io.Serializable

public class RadioGroupFieldDescriptor
extends AbstractSelectionFieldDescriptor

A field descriptor that will render a group of radio buttons on the GUI configuration screen.

Author:
Brian Campbell
See Also:
AdapterConfigurationGuiDescriptor.addField(FieldDescriptor), AdapterConfigurationGuiDescriptor.addAdvancedField(FieldDescriptor), TableDescriptor.addRowField(FieldDescriptor), Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
AbstractSelectionFieldDescriptor.OptionValue
 
Nested classes/interfaces inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
FieldDescriptor.FieldValidationWrapper
 
Field Summary
 
Fields inherited from class org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
optionValues
 
Constructor Summary
RadioGroupFieldDescriptor(java.lang.String name, java.lang.String description, java.util.List<AbstractSelectionFieldDescriptor.OptionValue> optionValues)
          Create a new RadioGroupFieldDescriptor with the specified option values.
RadioGroupFieldDescriptor(java.lang.String name, java.lang.String description, java.lang.String[] optionValues)
          Create a new RadioGroupFieldDescriptor with the specified option values.
 
Method Summary
 
Methods inherited from class org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
getOptionValues
 
Methods inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
addValidator, addValidator, getDefaultValue, getDescription, getName, getValidationChain, setDefaultValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadioGroupFieldDescriptor

public RadioGroupFieldDescriptor(java.lang.String name,
                                 java.lang.String description,
                                 java.lang.String[] optionValues)
Create a new RadioGroupFieldDescriptor 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.

RadioGroupFieldDescriptor

public RadioGroupFieldDescriptor(java.lang.String name,
                                 java.lang.String description,
                                 java.util.List<AbstractSelectionFieldDescriptor.OptionValue> optionValues)
Create a new RadioGroupFieldDescriptor 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.