bibliothek.gui.dock.common.mode.station
Class CFlapDockStationHandle
java.lang.Object
bibliothek.gui.dock.facile.mode.station.FlapDockStationHandle
bibliothek.gui.dock.common.mode.station.CFlapDockStationHandle
- All Implemented Interfaces:
- CMinimizedModeArea, CModeArea, MinimizedModeArea, ModeArea, StationModeArea
public class CFlapDockStationHandle
- extends FlapDockStationHandle
- implements CMinimizedModeArea
Interface between FlapDockStation
and CModeArea
.
- Author:
- Benjamin Sigg
Methods inherited from class bibliothek.gui.dock.facile.mode.station.FlapDockStationHandle |
addModeAreaListener, autoDefaultArea, getLocation, getStation, getUniqueId, isChild, isLocationRoot, removeModeAreaListener, respectWorkingAreas, setController, setLocation, setMode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CFlapDockStationHandle
public CFlapDockStationHandle(CStation<CFlapDockStation> station)
- Creates a new handle
- Parameters:
station
- the station which is handled by this handle
CFlapDockStationHandle
public CFlapDockStationHandle(String id,
CFlapDockStation station,
CLocation location)
- Creates a new handle
- Parameters:
id
- the unique identifier of this stationstation
- the station to handlelocation
- the location which represents station
getCLocation
public CLocation getCLocation(Dockable dockable)
- Description copied from interface:
CModeArea
- Assuming
dockable
is a child of this area, returns
the location of dockable
.
- Specified by:
getCLocation
in interface CModeArea
- Parameters:
dockable
- some child
- Returns:
- the location,
null
if not found
getCLocation
public CLocation getCLocation(Dockable dockable,
Location location)
- Description copied from interface:
CModeArea
- Assuming
dockable
would be at location location
if it would be a child of this station, returns the CLocation
that
matches location
.
- Specified by:
getCLocation
in interface CModeArea
- Parameters:
dockable
- some element which may or may not be a child of this stationlocation
- the location dockable
would have if it would
be a child of this station
- Returns:
- the location,
null
if not found