|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ModeArea
A representation of some area that can show Dockables,
it is a wrapper for a DockStation.
| Method Summary | |
|---|---|
void |
addModeAreaListener(ModeAreaListener listener)
Adds a listener to this area. |
boolean |
autoDefaultArea()
Tells whether this ModeArea can automatically become
the default area of some mode. |
DockStation |
getStation()
Gets the station which is represented by this area. |
String |
getUniqueId()
Gets a unique identifier for this area. |
boolean |
isChild(Dockable dockable)
Tells whether dockable is a direct child of this station. |
void |
removeModeAreaListener(ModeAreaListener listener)
Removes a listener from this area. |
void |
setController(DockController controller)
Connects this area with a controller. |
void |
setMode(LocationMode mode)
Informs this area about the mode that uses it. |
| Method Detail |
|---|
String getUniqueId()
CStation.getUniqueId()boolean autoDefaultArea()
ModeArea can automatically become
the default area of some mode.
true if this can be a default area, false if notboolean isChild(Dockable dockable)
dockable is a direct child of this station.
dockable - some element
true if and only if the parent of dockable
is identical to this stationDockStation getStation()
nullvoid setController(DockController controller)
controller - the controller or nullvoid setMode(LocationMode mode)
mode - the owner of this area, can be nullvoid addModeAreaListener(ModeAreaListener listener)
listener - the new listenervoid removeModeAreaListener(ModeAreaListener listener)
listener - the listener to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||