public interface StatusRegion
Modifier and Type | Method and Description |
---|---|
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.
|
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 addvoid 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()
Copyright © 2013. All Rights Reserved.