Annotation Interface TextFieldComponent


@Retention(RUNTIME) @Target(FIELD) public @interface TextFieldComponent
  • 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:
      true if this textfield is required, false if it can be ignored
      Default:
      true
    • desc

      String desc
      Default:
      ""