Class EditorPassword

  • All Implemented Interfaces:
    ConfigEditor<String>

    public class EditorPassword
    extends EditorString
    A single-line text editor that hides the content that is typed into it. The content is still added to the JSON as plain text.
    Author:
    Hylke van der Schaaf
    • Constructor Detail

      • EditorPassword

        public EditorPassword()
      • EditorPassword

        public EditorPassword​(String deflt)
      • EditorPassword

        public EditorPassword​(String deflt,
                              String label,
                              String description)
    • Method Detail

      • initFor

        public void initFor​(Field field)
        Description copied from interface: ConfigEditor
        Initialise the editor for the given Field, using the Field name and type and any annotations present on the Field.
        Specified by:
        initFor in interface ConfigEditor<String>
        Overrides:
        initFor in class EditorString
        Parameters:
        field - the Field to initialise the editor for.