bibliothek.gui.dock.common.intern.station
Class CScreenDockStation

java.lang.Object
  extended by bibliothek.gui.dock.station.AbstractDockStation
      extended by bibliothek.gui.dock.ScreenDockStation
          extended by bibliothek.gui.dock.common.intern.station.CScreenDockStation
All Implemented Interfaces:
CommonElement, CommonDockStation<ScreenDockStation,CScreenDockStation>, DockElement, DockStation

public class CScreenDockStation
extends ScreenDockStation
implements CommonDockStation<ScreenDockStation,CScreenDockStation>

A ScreenDockStation that also implements CommonDockStation.

Author:
Benjamin Sigg

Field Summary
 
Fields inherited from class bibliothek.gui.dock.ScreenDockStation
BOUNDARY_RESTRICTION, EXPAND_ON_DOUBLE_CLICK, FULL_SCREEN_STRATEGY, TITLE_ID, WINDOW_FACTORY
 
Fields inherited from class bibliothek.gui.dock.station.AbstractDockStation
listeners
 
Constructor Summary
CScreenDockStation(WindowProvider owner, CommonStationDelegate<ScreenDockStation> delegate)
          Creates a new station.
 
Method Summary
 CommonDockable asDockable()
          Returns this if this is an instance of Dockable.
 CScreenDockStation asDockStation()
          Returns this if this is an instance of DockStation.
protected  ListeningDockAction createFullscreenAction()
          Creates an action which is added to all children of this station.
 ScreenDockStation getDockStation()
          Gets this as S.
 CStation<ScreenDockStation> getStation()
          Gets the model of this station.
 
Methods inherited from class bibliothek.gui.dock.ScreenDockStation
addDockable, addDockable, addDockable, addScreenDockStationListener, callDockUiUpdateTheme, canCompare, canDrag, canReplace, checkWindowBoundaries, clearExpandOnDoubleClick, combine, combine, compare, createWindow, deregister, drag, draw, drop, drop, drop, drop, drop, drop, forget, getBoundaryRestriction, getCombiner, getDirectActionOffers, getDisplayerFactory, getDisplayers, getDockable, getDockableCount, getDockableProperty, getDropOverRatio, getFactoryID, getFrontDockable, getFullscreenChildren, getFullscreenStrategy, getIndirectActionOffers, getLocation, getOwner, getPaint, getPlaceholders, getPlaceholders, getPlaceholderStrategy, getProvider, getStationBounds, getTitleVersion, getWindow, getWindow, getWindowFactory, getWindowFactoryProperty, indexOf, isExpandOnDoubleClick, isFullscreen, isInOverrideZone, isShowing, isStationVisible, isVisible, move, move, prepare, prepareDrop, prepareMove, register, removeDockable, removeDockable, removeScreenDockStationListener, replace, replace, replace, screenDockStationListeners, searchCombineDockable, setBoundaryRestriction, setController, setDropOverRatio, setExpandOnDoubleClick, setFrontDockable, setFullscreen, setFullscreenAction, setFullscreenStrategy, setPlaceholders, setPlaceholders, setPlaceholderStrategy, setShowing, setWindowFactory
 
Methods inherited from class bibliothek.gui.dock.station.AbstractDockStation
accept, addDockStationListener, changed, getController, getTheme, removeDockStationListener, requestChildDockTitle, updateTheme
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bibliothek.gui.dock.DockElement
getFactoryID
 
Methods inherited from interface bibliothek.gui.DockStation
accept, addDockStationListener, canCompare, canDrag, canReplace, changed, compare, drag, draw, drop, drop, drop, forget, getController, getDirectActionOffers, getDockable, getDockableCount, getDockableProperty, getFrontDockable, getIndirectActionOffers, getPlaceholders, getStationBounds, getTheme, isInOverrideZone, isStationVisible, isVisible, move, move, prepareDrop, prepareMove, removeDockStationListener, replace, replace, requestChildDockTitle, setController, setFrontDockable, setPlaceholders, updateTheme
 
Methods inherited from interface bibliothek.gui.dock.DockElement
getFactoryID
 

Constructor Detail

CScreenDockStation

public CScreenDockStation(WindowProvider owner,
                          CommonStationDelegate<ScreenDockStation> delegate)
Creates a new station.

Parameters:
owner - the window that is the owner of the windows of this station
delegate - additional methods required for this station
Method Detail

createFullscreenAction

protected ListeningDockAction createFullscreenAction()
Description copied from class: ScreenDockStation
Creates an action which is added to all children of this station. The action allows the user to expand a child to fullscreen. The action is also added to subchildren, but the effect does only affect direct children of this station.

Overrides:
createFullscreenAction in class ScreenDockStation
Returns:
the action or null if this feature should be disabled, or the action is set later

getDockStation

public ScreenDockStation getDockStation()
Description copied from interface: CommonDockStation
Gets this as S.

Specified by:
getDockStation in interface CommonDockStation<ScreenDockStation,CScreenDockStation>
Returns:
this

asDockStation

public CScreenDockStation asDockStation()
Description copied from interface: DockElement
Returns this if this is an instance of DockStation. Otherwise null is returned.

Specified by:
asDockStation in interface CommonElement
Specified by:
asDockStation in interface CommonDockStation<ScreenDockStation,CScreenDockStation>
Specified by:
asDockStation in interface DockElement
Overrides:
asDockStation in class ScreenDockStation
Returns:
this or null. Must not return null if DockElement.asDockable() already returns null

asDockable

public CommonDockable asDockable()
Description copied from interface: DockElement
Returns this if this is an instance of Dockable. Otherwise null is returned.

Specified by:
asDockable in interface CommonElement
Specified by:
asDockable in interface DockElement
Overrides:
asDockable in class ScreenDockStation
Returns:
this or null. Must not return null if DockElement.asDockable() already returns null.

getStation

public CStation<ScreenDockStation> getStation()
Description copied from interface: CommonDockStation
Gets the model of this station.

Specified by:
getStation in interface CommonDockStation<ScreenDockStation,CScreenDockStation>
Returns:
the model, may not be null