|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
ch.tatool.core.display.swing.status.StatusRegionImpl
public class StatusRegionImpl
Status region component implementation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
StatusRegionImpl()
|
|
| 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. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StatusRegionImpl()
| Method Detail |
|---|
public List<StatusPanel> getStatusPanels()
StatusRegion
getStatusPanels in interface StatusRegion
public void addStatusPanel(String id,
StatusPanel statusPanel)
StatusRegion
addStatusPanel in interface StatusRegionid - the id of the status panel.statusPanel - the status panel to add
public void addStatusPanel(String id,
StatusPanel statusPanel,
int index)
StatusRegion
addStatusPanel in interface StatusRegionid - the id of the status panel.statusPanel - the status panel to addindex - the index to insert the panel intopublic StatusPanel getStatusPanel(String id)
StatusRegion
getStatusPanel in interface StatusRegionpublic List<String> getStatusPanelIds()
StatusRegion
getStatusPanelIds in interface StatusRegionpublic void reoderStatusPanels(List<String> statusPanelIds)
StatusRegion
reoderStatusPanels in interface StatusRegionstatusPanelIds - 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.public void removeStatusPanel(String id)
StatusRegion
removeStatusPanel in interface StatusRegionpublic void removeAllPanels()
StatusRegion
removeAllPanels in interface StatusRegion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||