Class AbstractAnalogActionSwing

    • Field Detail

      • panel

        protected javax.swing.JPanel panel
    • Method Detail

      • getManager

        public BaseManager<? extends NamedBeangetManager()
        Get the manager that handles the beans for the new object. This is used for validation of the system name for the bean that this class creates.
        Returns:
        the manager
      • getConfigPanel

        public javax.swing.JPanel getConfigPanel​(@Nonnull
                                                 javax.swing.JPanel buttonPanel)
                                          throws java.lang.IllegalArgumentException
        Get a configuration panel when a new object is to be created and we don't have it yet. This method initializes the panel with an empty configuration.
        Parameters:
        buttonPanel - panel with the buttons
        Returns:
        a panel that configures this object
        Throws:
        java.lang.IllegalArgumentException - if this class does not support the class with the name given in parameter 'className'
      • getConfigPanel

        public javax.swing.JPanel getConfigPanel​(@Nonnull
                                                 Base object,
                                                 @Nonnull
                                                 javax.swing.JPanel buttonPanel)
                                          throws java.lang.IllegalArgumentException
        Get a configuration panel for an object. This method initializes the panel with the configuration of the object.
        Parameters:
        object - the object for which to return a configuration panel
        buttonPanel - panel with the buttons
        Returns:
        a panel that configures this object
        Throws:
        java.lang.IllegalArgumentException
      • getExampleSystemName

        public java.lang.String getExampleSystemName()
        Get an example of a system name
        Returns:
        the system name
      • getAutoSystemName

        public java.lang.String getAutoSystemName()
        Create a new system name.
        Returns:
        a new system name