Class EditorDefault<T>

    • Constructor Detail

      • EditorDefault

        public EditorDefault()
    • 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<T>
        Parameters:
        field - the Field to initialise the editor for.
      • getLabel

        public String getLabel()
        The human readable label for this editor.
        Specified by:
        getLabel in interface ConfigEditor<T>
        Returns:
        the label
      • setLabel

        public void setLabel​(String label)
        The human readable label for this editor.
        Specified by:
        setLabel in interface ConfigEditor<T>
        Parameters:
        label - the label to set
      • getDescription

        public String getDescription()
        The longer description for this editor.
        Specified by:
        getDescription in interface ConfigEditor<T>
        Returns:
        the description
      • setDescription

        public void setDescription​(String description)
        The longer description for this editor.
        Specified by:
        setDescription in interface ConfigEditor<T>
        Parameters:
        description - the description to set
      • getHelpButton

        public JButton getHelpButton()
      • popupDescription

        public void popupDescription()
      • getHelpFrame

        public static JFrame getHelpFrame()