bibliothek.gui.dock.facile.mode
Interface StationModeArea

All Superinterfaces:
ModeArea
All Known Subinterfaces:
CExternalizedModeArea, CMinimizedModeArea, CNormalModeArea, ExternalizedModeArea, MinimizedModeArea, NormalModeArea
All Known Implementing Classes:
CFlapDockStationHandle, CScreenDockStationHandle.External, CSplitDockStationHandle.Normal, FlapDockStationHandle

public interface StationModeArea
extends ModeArea

A representation of a DockStation which can be accessed through Modes.

Author:
Benjamin Sigg

Method Summary
 DockableProperty getLocation(Dockable child)
          Gets the location of dockable which is a child of this station.
 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 interface bibliothek.gui.dock.facile.mode.ModeArea
addModeAreaListener, autoDefaultArea, getStation, getUniqueId, isChild, removeModeAreaListener, setController, setMode
 

Method Detail

getLocation

DockableProperty getLocation(Dockable child)
Gets the location of dockable which is a child of this station.

Parameters:
child - the child
Returns:
the location, may be null

setLocation

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.

Parameters:
dockable - the new or old child
location - the new location, may be null
set - this method has to store all Dockables which might have changed their mode in the set.