Package org.sourceid.saml20.adapter.gui
Class AbstractTextFieldDescriptor
- java.lang.Object
-
- org.sourceid.saml20.adapter.gui.FieldDescriptor
-
- org.sourceid.saml20.adapter.gui.AbstractTextFieldDescriptor
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HashedTextFieldDescriptor,TextFieldDescriptor
public abstract class AbstractTextFieldDescriptor extends FieldDescriptor
An abstract field descriptor that will render a text field on the GUI configuration screen.
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
FieldDescriptor.FieldValidationWrapper
-
-
Constructor Summary
Constructors Constructor Description AbstractTextFieldDescriptor(String name, String description)Create a new text field description with the given name and description.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetSize()The display size of this field on the screenvoidsetSize(int size)Sets the display size of this field on the screen-
Methods inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
addValidator, addValidator, getDefaultForLegacyConfig, getDefaultValue, getDescription, getFormattedValue, getLabel, getName, getValidationChain, isHidden, setDefaultForLegacyConfig, setDefaultValue, setHidden, setLabel
-
-
-
-
Constructor Detail
-
AbstractTextFieldDescriptor
public AbstractTextFieldDescriptor(String name, String description)
Create a new text field description with the given name and description.- Parameters:
name- The field name (must be unique per AdapterConfigurationGuiDescriptor or TableDescriptor). This name will also be used as the label for the field in the administrative console. To ensure configuration can be read in future releases of a plugin, it is recommended to not change a field's name - instead use a label to rename it in the administrative console.description- The field description displayed in the administrative console.
-
-