|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DashboardPanel
An interface that must be implemented by each panel that wants to sit on a dashboard.
Method Summary | |
---|---|
JComponent |
getComponent(PropertyChannel propertyChannel)
Return a graphical representation of this panel. |
String |
getDescription()
Return a short description (few lines only) of this panel. |
String |
getHelp()
The help system is centralized in Dashboard itself. |
URL |
getHelpURL()
Return a URL of this panel's help page. |
Icon |
getIcon()
Return an icon decorating this panel. |
URL |
getIconURL()
Return a URL of this panel's icon. |
String |
getName()
A name identifies a panel in the dashboard's tabs. |
JLabel |
getTitle()
A title is a more-detailed description of a panel, possibly including an image. |
boolean |
isMandatory()
Some panels can be selected by users as not-needed - so they do not show at the start-up. |
boolean |
loadOnlyOnDemand()
Some panels are less important for most users (e.g. debugging panels) so they are shown only when a user specifically selects them. |
Method Detail |
---|
JComponent getComponent(PropertyChannel propertyChannel)
propertyChannel
- is a shared storage for properties
String getName()
getTitle()
JLabel getTitle()
getName()
String getHelp()
The returned string will be treated as an HTML document (will be displayed with "text/html" mime type).
TBD: we may change this later and use JavaHelp mechanism.
URL getHelpURL()
getHelp()
method. This URL (instead of direct help text) is
used in the dashboard summary page.
String getDescription()
Icon getIcon()
getName()
). A dashboard may ignore too large
icons.
URL getIconURL()
getIcon()
. This URL (instead of
directly the icon) is used in the dashboard summary page.
boolean isMandatory()
boolean loadOnlyOnDemand()
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |