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
Interface between
FlapDockStation and CModeArea.- Author:
- Benjamin Sigg
-
Constructor Summary
ConstructorsConstructorDescriptionCFlapDockStationHandle(CStation<CFlapDockStation> station) Creates a new handleCFlapDockStationHandle(String id, CFlapDockStation station, CLocation location) Creates a new handle -
Method Summary
Modifier and TypeMethodDescriptiongetCLocation(Dockable dockable) Assumingdockableis a child of this area, returns the location ofdockable.getCLocation(Dockable dockable, Location location) Assumingdockablewould be at locationlocationif it would be a child of this station, returns theCLocationthat matcheslocation.Methods inherited from class bibliothek.gui.dock.facile.mode.station.FlapDockStationHandle
addModeAreaListener, autoDefaultArea, getLocation, getStation, getUniqueId, isChild, isLocationRoot, removeModeAreaListener, respectWorkingAreas, setController, setLocation, setModeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface bibliothek.gui.dock.common.mode.CModeArea
respectWorkingAreasMethods inherited from interface bibliothek.gui.dock.facile.mode.ModeArea
addModeAreaListener, autoDefaultArea, getStation, getUniqueId, isChild, isLocationRoot, removeModeAreaListener, setController, setModeMethods inherited from interface bibliothek.gui.dock.facile.mode.StationModeArea
getLocation, setLocation
-
Constructor Details
-
CFlapDockStationHandle
Creates a new handle- Parameters:
station- the station which is handled by this handle
-
CFlapDockStationHandle
Creates a new handle- Parameters:
id- the unique identifier of this stationstation- the station to handlelocation- the location which representsstation
-
-
Method Details
-
getCLocation
Description copied from interface:CModeAreaAssumingdockableis a child of this area, returns the location ofdockable.- Specified by:
getCLocationin interfaceCModeArea- Parameters:
dockable- some child- Returns:
- the location,
nullif not found
-
getCLocation
Description copied from interface:CModeAreaAssumingdockablewould be at locationlocationif it would be a child of this station, returns theCLocationthat matcheslocation.- Specified by:
getCLocationin interfaceCModeArea- Parameters:
dockable- some element which may or may not be a child of this stationlocation- the locationdockablewould have if it would be a child of this station- Returns:
- the location,
nullif not found
-