|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.facile.mode.station.ScreenDockStationHandle
public class ScreenDockStationHandle
A link between a ScreenDockStation
and the
ExternalizedModeArea
interface.
Constructor Summary | |
---|---|
ScreenDockStationHandle(String id,
ScreenDockStation station)
Creates a new handle. |
Method Summary | |
---|---|
void |
addModeAreaListener(ModeAreaListener listener)
Adds a listener to this area. |
DockableProperty |
getLocation(Dockable child)
Gets the location of dockable which is a child
of this station. |
ScreenDockStation |
getStation()
Gets the station which is managed by this handle. |
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. |
boolean |
respectWorkingAreas()
Tells whether children of this area have to respect the settings for CWorkingArea s. |
void |
setController(DockController controller)
Connects this area with a controller. |
void |
setLocation(Dockable dockable,
DockableProperty location,
AffectedSet set)
Sets the location of dockable to location
and ensures that dockable is a child of this station. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScreenDockStationHandle(String id, ScreenDockStation station)
id
- the unique identifier of this handlestation
- the wrapped stationMethod Detail |
---|
public void addModeAreaListener(ModeAreaListener listener)
ModeArea
addModeAreaListener
in interface ModeArea
listener
- the new listenerpublic void removeModeAreaListener(ModeAreaListener listener)
ModeArea
removeModeAreaListener
in interface ModeArea
listener
- the listener to removepublic void setController(DockController controller)
ModeArea
setController
in interface ModeArea
controller
- the controller or null
public ScreenDockStation getStation()
getStation
in interface ModeArea
public boolean respectWorkingAreas()
ModeArea
CWorkingArea
s.
respectWorkingAreas
in interface ModeArea
public DockableProperty getLocation(Dockable child)
StationModeArea
dockable
which is a child
of this station.
getLocation
in interface StationModeArea
child
- the child
null
public void setLocation(Dockable dockable, DockableProperty location, AffectedSet set)
StationModeArea
dockable
to location
and ensures that dockable
is a child of this station.
setLocation
in interface StationModeArea
dockable
- the new or old childlocation
- the new location, may be null
set
- this method has to store all Dockable
s which might have changed their
mode in the set.public String getUniqueId()
ModeArea
getUniqueId
in interface ModeArea
CStation.getUniqueId()
public boolean isChild(Dockable dockable)
ModeArea
dockable
is a direct child of this station.
isChild
in interface ModeArea
dockable
- some element
true
if and only if the parent of dockable
is identical to this station
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |