Interface StartupModelFactory

    • Method Detail

      • getModelClass

        java.lang.Class<? extends StartupModelgetModelClass()
        Get the Class that is generated by this factory. The Class must be a subclass of StartupModel.
        The class this factory generates.
      • getDescription

        java.lang.String getDescription()
        Get the description for models this factory generates. This is used in the preferences UI to describe the class, so it should be short.
        A short description.
      • getActionText

        java.lang.String getActionText()
        Get the action text for models this factory generates. This is used in menus and UI elements that start the process of creating and editing a new startup action. If the startup action is not configurable, this should be the same as getDescription().
        Action text
      • editModel

        void editModel​(StartupModel model,
                       java.awt.Component parent)
        Allow user to edit the model.
        model - the model to edit
        parent - the parent component for the editing UI