|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StatusRegion
Backing object for the status region. Instead of providing direct access to the region, status panels can be added and removed to this object, and accessed by tasks using simple ids. This decouples the status regions and panels from the tasks, yet provides a standard way of getting direct access to the status elements displayed in it.
| Method Summary | |
|---|---|
void |
addStatusPanel(String id,
StatusPanel statusPanel)
Add a status panel to the status region. |
void |
addStatusPanel(String id,
StatusPanel statusPanel,
int index)
Add a status panel to the status region. |
StatusPanel |
getStatusPanel(String id)
Get a status panel given it's id. |
List<String> |
getStatusPanelIds()
Get the id's of all added status panels. |
List<StatusPanel> |
getStatusPanels()
Get the status panels in the order in which they appear on the screen. |
void |
removeAllPanels()
Remove all status panels. |
void |
removeStatusPanel(String id)
Remove a status panel given it's id. |
void |
reoderStatusPanels(List<String> statusPanelIds)
Reorder the status panels according to the provided list. |
| Method Detail |
|---|
List<StatusPanel> getStatusPanels()
List<String> getStatusPanelIds()
void reoderStatusPanels(List<String> statusPanelIds)
statusPanelIds - the ids of the statuspanels in the order they should appear on the screen.
Missing ids will be added to the end, unknown ids ignored.StatusPanel getStatusPanel(String id)
void addStatusPanel(String id,
StatusPanel statusPanel)
id - the id of the status panel.statusPanel - the status panel to add
void addStatusPanel(String id,
StatusPanel statusPanel,
int index)
id - the id of the status panel.statusPanel - the status panel to addindex - the index to insert the panel intovoid removeStatusPanel(String id)
void removeAllPanels()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||