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

public interface CModeArea
extends ModeArea

Describes a ModeArea that can work with CLocations.

Author:
Benjamin Sigg

Method Summary
 CLocation getCLocation(Dockable dockable)
          Assuming dockable is a child of this area, returns the location of dockable.
 CLocation getCLocation(Dockable dockable, Location location)
          Assuming dockable would be at location location if it would be a child of this station, returns the CLocation that matches location.
 boolean respectWorkingAreas()
          Tells whether children of this area have to respect the settings for CWorkingAreas.
 
Methods inherited from interface bibliothek.gui.dock.facile.mode.ModeArea
addModeAreaListener, autoDefaultArea, getStation, getUniqueId, isChild, removeModeAreaListener, setController, setMode
 

Method Detail

getCLocation

CLocation getCLocation(Dockable dockable)
Assuming dockable is a child of this area, returns the location of dockable.

Parameters:
dockable - some child
Returns:
the location, null if not found

getCLocation

CLocation getCLocation(Dockable dockable,
                       Location location)
Assuming dockable would be at location location if it would be a child of this station, returns the CLocation that matches location.

Parameters:
dockable - some element which may or may not be a child of this station
location - the location dockable would have if it would be a child of this station
Returns:
the location, null if not found

respectWorkingAreas

boolean respectWorkingAreas()
Tells whether children of this area have to respect the settings for CWorkingAreas.

Returns:
whether the settings are to be respected