Package bibliothek.gui.dock.common.mode
Interface CModeArea
- All Superinterfaces:
ModeArea
- All Known Subinterfaces:
CExternalizedModeArea,CMaximizedModeArea,CMinimizedModeArea,CNormalModeArea
- All Known Implementing Classes:
CFlapDockStationHandle,CScreenDockStationHandle.External,CScreenDockStationHandle.Maximal,CSplitDockStationHandle.Maximal,CSplitDockStationHandle.Normal,ExternalizedCSplitDockStationHandler.Externalized
- Author:
- Benjamin Sigg
-
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.booleanTells whether children of this area have to respect the settings forCWorkingAreas.Methods inherited from interface bibliothek.gui.dock.facile.mode.ModeArea
addModeAreaListener, autoDefaultArea, getStation, getUniqueId, isChild, isLocationRoot, removeModeAreaListener, setController, setMode
-
Method Details
-
getCLocation
Assumingdockableis a child of this area, returns the location ofdockable.- Parameters:
dockable- some child- Returns:
- the location,
nullif not found
-
getCLocation
Assumingdockablewould be at locationlocationif it would be a child of this station, returns theCLocationthat matcheslocation.- 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
-
respectWorkingAreas
boolean respectWorkingAreas()Tells whether children of this area have to respect the settings forCWorkingAreas.- Returns:
- whether the settings are to be respected
-