|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.common.mode.station.CSplitDockStationHandle.Normal
protected class CSplitDockStationHandle.Normal
| Constructor Summary | |
|---|---|
protected |
CSplitDockStationHandle.Normal()
|
| Method Summary | |
|---|---|
void |
addModeAreaListener(ModeAreaListener listener)
Adds a listener to this area. |
boolean |
autoDefaultArea()
Tells whether this ModeArea can automatically become
the default area of some mode. |
CLocation |
getBaseLocation()
Gets a location representing this area. |
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. |
DockableProperty |
getLocation(Dockable child)
Gets the location of dockable which is a child
of this station. |
SplitDockStation |
getStation()
Gets the station which is represented by this area. |
String |
getUniqueId()
Gets a unique identifier for this area. |
boolean |
isChild(Dockable dockable)
Tells whether dockable is a direct child of this station. |
boolean |
isNormalModeChild(Dockable dockable)
Tells whether dockable is a child of this
station and in a form satisfying the normal-mode criteria. |
boolean |
isWorkingArea()
Tells whether this area represents a CStation.isWorkingArea() |
void |
removeModeAreaListener(ModeAreaListener listener)
Removes a listener from this area. |
boolean |
respectWorkingAreas()
Tells whether children of this area have to respect the settings for CWorkingAreas. |
void |
setController(DockController controller)
Connects this area with a controller. |
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. |
void |
setMode(LocationMode mode)
Informs this area about the mode that uses it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected CSplitDockStationHandle.Normal()
| Method Detail |
|---|
public void setMode(LocationMode mode)
ModeArea
setMode in interface ModeAreamode - the owner of this area, can be nullpublic void addModeAreaListener(ModeAreaListener listener)
ModeArea
addModeAreaListener in interface ModeArealistener - the new listenerpublic void removeModeAreaListener(ModeAreaListener listener)
ModeArea
removeModeAreaListener in interface ModeArealistener - the listener to removepublic boolean autoDefaultArea()
ModeAreaModeArea can automatically become
the default area of some mode.
autoDefaultArea in interface ModeAreatrue if this can be a default area, false if notpublic void setController(DockController controller)
ModeArea
setController in interface ModeAreacontroller - the controller or nullpublic boolean isNormalModeChild(Dockable dockable)
NormalModeAreadockable is a child of this
station and in a form satisfying the normal-mode criteria.
isNormalModeChild in interface NormalModeAreadockable - some potential child
true if dockable is a child
in normal mode.public DockableProperty getLocation(Dockable child)
StationModeAreadockable which is a child
of this station.
getLocation in interface StationModeAreachild - the child
nullpublic String getUniqueId()
ModeArea
getUniqueId in interface ModeAreaCStation.getUniqueId()public boolean isChild(Dockable dockable)
ModeAreadockable is a direct child of this station.
isChild in interface ModeAreadockable - some element
true if and only if the parent of dockable
is identical to this stationpublic SplitDockStation getStation()
ModeArea
getStation in interface ModeAreanullpublic boolean respectWorkingAreas()
CModeAreaCWorkingAreas.
respectWorkingAreas in interface CModeArea
public void setLocation(Dockable dockable,
DockableProperty location,
AffectedSet set)
StationModeAreadockable to location
and ensures that dockable is a child of this station.
setLocation in interface StationModeAreadockable - the new or old childlocation - the new location, may be nullset - this method has to store all Dockables which might have changed their
mode in the set.public CLocation getCLocation(Dockable dockable)
CModeAreadockable is a child of this area, returns
the location of dockable.
getCLocation in interface CModeAreadockable - some child
null if not found
public CLocation getCLocation(Dockable dockable,
Location location)
CModeAreadockable would be at location location
if it would be a child of this station, returns the CLocation that
matches location.
getCLocation in interface CModeAreadockable - 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
null if not foundpublic CLocation getBaseLocation()
CNormalModeArea
getBaseLocation in interface CNormalModeAreaDockables which have no valid locationpublic boolean isWorkingArea()
CNormalModeAreaCStation.isWorkingArea()
isWorkingArea in interface CNormalModeAreatrue if an area
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||