Package be.gaudry.swing.eid.action
Enum Class EidActionsFactory.EidPanels
- All Implemented Interfaces:
IBrolCard
,Serializable
,Comparable<EidActionsFactory.EidPanels>
,Constable
- Enclosing class:
- EidActionsFactory
public static enum EidActionsFactory.EidPanels
extends Enum<EidActionsFactory.EidPanels>
implements IBrolCard
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe general contract ofgetPanelTitle()
is providing a user readable title of the panel binded to theenum
, to display it in thestatus bar
.boolean
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.void
updateLanguage(ResourceBundle _lrb)
static EidActionsFactory.EidPanels
Returns the enum constant of this class with the specified name.static EidActionsFactory.EidPanels[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EID_ALL
Main administration panel /**
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getPanelTitle
Description copied from interface:IBrolCard
The general contract ofgetPanelTitle()
is providing a user readable title of the panel binded to theenum
, to display it in thestatus bar
.- Specified by:
getPanelTitle
in interfaceIBrolCard
- Returns:
- the Title of the panel
-
updateLanguage
-
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 interfaceIBrolCard
- Returns:
- false if the panel may be removed from the panel controller.
-