Class ActionLayoutTurnoutSwing

    • Method Detail

      • validate

        public boolean validate​(@Nonnull
                                java.util.List<java.lang.String> errorMessages)
        Validate the form.

        The parameter errorMessage is used to give the error message in case of an error. If there are errors, the error messages is added to the list errorMessage.

        Parameters:
        errorMessages - the error messages in case of an error
        Returns:
        true if data in the form is valid, false otherwise
      • createNewObject

        public MaleSocket createNewObject​(@Nonnull
                                          java.lang.String systemName,
                                          @CheckForNull
                                          java.lang.String userName)
        Create a new object with the data entered.This method must also register the object in its manager.
        Parameters:
        systemName - system name
        userName - user name
        Returns:
        a male socket for the new object
      • updateObject

        public void updateObject​(@Nonnull
                                 Base object)
        Updates the object with the data in the form.
        Parameters:
        object - the object to update
      • toString

        public java.lang.String toString()
        Returns the name of the class that this class configures.
        Specified by:
        toString in interface SwingConfiguratorInterface
        Overrides:
        toString in class java.lang.Object
        Returns:
        the name of the class this class configures.
      • dispose

        public void dispose()
        Description copied from interface: SwingConfiguratorInterface
        Dispose the panel and remove all the listeners that this class may have registered.