Enum Class AdminMenuBar.EAdminCard

java.lang.Object
java.lang.Enum<AdminMenuBar.EAdminCard>
be.gaudry.swing.edu.menu.AdminMenuBar.EAdminCard
All Implemented Interfaces:
IBrolCard, Serializable, Comparable<AdminMenuBar.EAdminCard>, Constable
Enclosing class:
AdminMenuBar

public static enum AdminMenuBar.EAdminCard extends Enum<AdminMenuBar.EAdminCard> implements IBrolCard
  • Enum Constant Details

  • Method Details

    • values

      public static AdminMenuBar.EAdminCard[] 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 AdminMenuBar.EAdminCard 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 Title of the panel
    • updateLanguage

      public void updateLanguage(ResourceBundle languageResourceBundle)
    • 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.