Enum Class FontViewerActionsFactory.EFontViewerCard

java.lang.Object
java.lang.Enum<FontViewerActionsFactory.EFontViewerCard>
be.gaudry.fontviewer.swing.action.FontViewerActionsFactory.EFontViewerCard
All Implemented Interfaces:
IBrolCard, Serializable, Comparable<FontViewerActionsFactory.EFontViewerCard>, Constable
Enclosing class:
FontViewerActionsFactory

public static enum FontViewerActionsFactory.EFontViewerCard extends Enum<FontViewerActionsFactory.EFontViewerCard> implements IBrolCard
  • Enum Constant Details

  • Method Details

    • values

      public static FontViewerActionsFactory.EFontViewerCard[] 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 FontViewerActionsFactory.EFontViewerCard 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
    • 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.