|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CStationContainer
A CStationContainer
is a set of root CStation
s that are somehow
combined and ordered on some kind of Component
. A container may or may not be mutable.
Method Summary | |
---|---|
void |
addStationContainerListener(CStationContainerListener listener)
Adds the observer listener to this container. |
Component |
getComponent()
Gets a Component whose children are all the CStation s of this
CStationContainer . |
CStation<?> |
getDefaultStation()
Gets the preferred default CStation of this container. |
CStation<?> |
getStation(int index)
Gets the index'th child of this container. |
int |
getStationCount()
Gets the number of CStation s that are currently in this container. |
String |
getUniqueId()
Gets a unique identifier that is used by only this CStationContainer . |
void |
removeStationContainerListener(CStationContainerListener listener)
Removes the observer listener from this container. |
Method Detail |
---|
void addStationContainerListener(CStationContainerListener listener)
listener
to this container. The listener is to be informed
whenever a CStation
is added or removed from this container.
listener
- the new listener, not null
void removeStationContainerListener(CStationContainerListener listener)
listener
from this container.
listener
- the listener to removeString getUniqueId()
CStationContainer
.
null
Component getComponent()
Component
whose children are all the CStation
s of this
CStationContainer
.
CStation
s, not null
int getStationCount()
CStation
s that are currently in this container.
CStation<?> getStation(int index)
index
- the index of the child, between 0 and getStationCount()
null
CStation<?> getDefaultStation()
CStation
of this container. Children with no location
are usually made visible on such a default station.
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |