Enum Class BrolSwingActionsFactory.ECards

java.lang.Object
java.lang.Enum<BrolSwingActionsFactory.ECards>
be.gaudry.swing.action.BrolSwingActionsFactory.ECards
All Implemented Interfaces:
ILocalized, IBrolCard, Serializable, Comparable<BrolSwingActionsFactory.ECards>, Constable
Enclosing class:
BrolSwingActionsFactory

public static enum BrolSwingActionsFactory.ECards extends Enum<BrolSwingActionsFactory.ECards> implements IBrolCard, ILocalized
Identifier of swing panels
  • Enum Constant Details

  • Method Details

    • values

      public static BrolSwingActionsFactory.ECards[] 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 BrolSwingActionsFactory.ECards 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 panel title
    • setLanguage

      public void setLanguage()
      Description copied from interface: ILocalized
      Sets localized language The implementation should use a ResourceBundle to load information based on the user's Locale, and may observe the LanguageHelper to update the GUI on Locale switch.
      Specified by:
      setLanguage in interface ILocalized
    • 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.