Package be.gaudry.swing.edu.menu
Enum Class 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionMain administration panelScheduler to display periods -
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 languageResourceBundle)
static AdminMenuBar.EAdminCard
Returns the enum constant of this class with the specified name.static AdminMenuBar.EAdminCard[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MAIN
Main administration panel -
MAIN_SCHEDULER
Scheduler to display periods
-
-
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.
-