org.sourceid.saml20.adapter.gui
Class CheckBoxFieldDescriptor

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

public class CheckBoxFieldDescriptor
extends FieldDescriptor

A field descriptor that will render a check box on the GUI configuration screen.

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
FieldDescriptor.FieldValidationWrapper
 
Constructor Summary
CheckBoxFieldDescriptor(java.lang.String name, java.lang.String description)
          Create a new CheckBoxFieldDescriptor.
 
Method Summary
 void setDefaultValue(boolean defaultValue)
          Set the default value for this individual field as a boolean.
 
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

CheckBoxFieldDescriptor

public CheckBoxFieldDescriptor(java.lang.String name,
                               java.lang.String description)
Create a new CheckBoxFieldDescriptor.

Parameters:
name - the field name (must be unique per AdapterConfigurationGuiDescriptor or TableDescriptor).
description - a helpful description of the field.
Method Detail

setDefaultValue

public void setDefaultValue(boolean defaultValue)
Set the default value for this individual field as a boolean.

Parameters:
defaultValue - the default value for this field.


Copyright 2007 Ping Identity Corp. All rights reserved.