Package be.gaudry.swing.menu
Interface IBrolCard
- All Known Implementing Classes:
AdminMenuBar.EAdminCard
,BibliobrolActionFactory.EBiblioCards
,BrolMetersMenuBar.ECards
,BrolSwingActionsFactory.ECards
,EidActionsFactory.EidPanels
,FinderActionsFactory.EFinderCard
,FontViewerActionsFactory.EFontViewerCard
,MReporterActionsFactory.EFinderCard
,NavigatorActionsFactory.ENavCard
,PhotoActionsFactory.ECewerCard
,PhotoActionsFactory.ETransfertPhotosCard
,RenamerActionsFactory.ERenamerCard
,SynchroActionsFactory.ESynchroCards
,TeacherActionsFactory.ETeacherCard
public interface IBrolCard
Implementing this for an
enum
allows managing panels for the
main frame
.- Since:
- 1.0 Feb 9, 2009, 1.0
- Version:
- %I%, %G%
- Author:
- Steph GAUDRY
- See Also:
BrolMenuBar
-
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.
-
Method Details
-
getPanelTitle
String getPanelTitle()The general contract ofgetPanelTitle()
is providing a user readable title of the panel binded to theenum
, to display it in thestatus bar
.- Returns:
- the panel title
-
isHomePanel
boolean isHomePanel()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- Returns:
- false if the panel may be removed from the panel controller.
-