Enum Class TeacherActionsFactory.ETeacherCard

java.lang.Object
java.lang.Enum<TeacherActionsFactory.ETeacherCard>
be.gaudry.swing.edu.action.TeacherActionsFactory.ETeacherCard
All Implemented Interfaces:
IBrolCard, Serializable, Comparable<TeacherActionsFactory.ETeacherCard>, Constable
Enclosing class:
TeacherActionsFactory

public static enum TeacherActionsFactory.ETeacherCard extends Enum<TeacherActionsFactory.ETeacherCard> implements IBrolCard
Enumeration of possible screens to show. This may be used to define the panel to show into a ShowPanelAction.
  • Enum Constant Details

  • Method Details

    • values

      public static TeacherActionsFactory.ETeacherCard[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TeacherActionsFactory.ETeacherCard valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getPanelTitle

      public String getPanelTitle()
      Description copied from interface: IBrolCard
      The general contract of getPanelTitle() is providing a user readable title of the panel binded to the enum, to display it in the status bar.
      Specified by:
      getPanelTitle in interface IBrolCard
      Returns:
      the localized title of the panel
    • isHomePanel

      public boolean isHomePanel()
      Description copied from interface: IBrolCard
      Most implementations will return false, but if the panel is the default panel it is not appropriate to show it in the panels that the user can delete, against this must still be present in the panels to be displayed if there is more than one opened panel. If all panels may be removed, the method returns always false
      Specified by:
      isHomePanel in interface IBrolCard
      Returns:
      false if the panel may be removed from the panel controller.