Annotation Type TextFieldComponent
-
@Retention(RUNTIME) @Target(FIELD) public @interface TextFieldComponent
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description TextInputType
inputType
String
placeholder
boolean
required
-
-
-
Element Detail
-
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:
- org.rspeer.game.script.model.ui.schema.text.TextInputType.ANY
-
-