Annotation Interface TextFieldComponent
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
-
Element Details
-
name
String name- Returns:
- The name of this textfield to display as a label
-
key
String key- Returns:
- A key used to identify this textfield
-
placeholder
String placeholder- Returns:
- The placeholder text to display when nothing is input (i.e a hint/example/description)
- Default:
""
-
inputType
TextInputType inputType- Returns:
- input type. internally calls setDocumentFilter with regex on the JTextField
- Default:
ANY
-
required
boolean required- Returns:
trueif this textfield is required,falseif it can be ignored
- Default:
true
-
desc
String desc- Default:
""
-