Annotation Type TextFieldComponent

    • 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
      • required

        boolean required
        Returns:
        true if this textfield is required, false if it can be ignored
        Default:
        true