|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceid.saml20.adapter.gui.FieldDescriptor
org.sourceid.saml20.adapter.gui.TextFieldDescriptor
public class TextFieldDescriptor
A field descriptor that will render a text field on the GUI configuration screen.
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.FieldDescriptor |
|---|
FieldDescriptor.FieldValidationWrapper |
| Constructor Summary | |
|---|---|
TextFieldDescriptor(java.lang.String name,
java.lang.String description)
Create a new TextFieldDescriptor. |
|
TextFieldDescriptor(java.lang.String name,
java.lang.String description,
boolean encrypted)
Create a new TextFieldDescriptor. |
|
| Method Summary | |
|---|---|
int |
getSize()
The display size of this field on the screen |
boolean |
isEncrypted()
Encrypt this text field? |
void |
setSize(int size)
Sets the display size of this field on the screen |
| 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 |
|---|
public TextFieldDescriptor(java.lang.String name,
java.lang.String description)
TextFieldDescriptor(String, String, boolean) with false for the last argument.
public TextFieldDescriptor(java.lang.String name,
java.lang.String description,
boolean encrypted)
name - the field name (must be unique per AdapterConfigurationGuiDescriptor or TableDescriptor).description - a helpful description of the field.encrypted - should this field encrypt the value (render it as a password field in the
GUI and encrypt the value in the backing configuration file).| Method Detail |
|---|
public boolean isEncrypted()
public int getSize()
public void setSize(int size)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||