Class CFlapDockStation
java.lang.Object
bibliothek.gui.dock.dockable.AbstractDockable
bibliothek.gui.dock.station.AbstractDockableStation
bibliothek.gui.dock.FlapDockStation
bibliothek.gui.dock.common.intern.station.CFlapDockStation
- All Implemented Interfaces:
CommonElement,CommonDockStation<FlapDockStation,,CFlapDockStation> DockComponentRoot,DockElement,DockElementRepresentative,PlaceholderListItem<Dockable>,Dockable,DockStation
public class CFlapDockStation
extends FlapDockStation
implements CommonDockStation<FlapDockStation,CFlapDockStation>
An implementation of
FlapDockStation that also satisfies the
CommonDockStation interface.- Author:
- Benjamin Sigg
-
Nested Class Summary
Nested classes/interfaces inherited from class bibliothek.gui.dock.FlapDockStation
FlapDockStation.Direction, FlapDockStation.DockableHandle, FlapDockStation.FlapDropOperation -
Field Summary
Fields inherited from class bibliothek.gui.dock.FlapDockStation
BUTTON_CONTENT, BUTTON_CONTENT_FILTER, BUTTON_TITLE_ID, DISPLAYER_ID, LAYOUT_MANAGER, MINIMUM_SIZE, WINDOW_FACTORY, WINDOW_TITLE_IDFields inherited from class bibliothek.gui.dock.station.AbstractDockableStation
listeners -
Constructor Summary
ConstructorsConstructorDescriptionCFlapDockStation(Component expansion, CommonStationDelegate<CFlapDockStation> delegate) Creates a new station. -
Method Summary
Modifier and TypeMethodDescriptionReturnsthisas station of typeC.protected FlapDockStation.DockableHandlecreateHandle(Dockable dockable) Gets the unique identifier of theDockFactorythat should be used by theCommonDockStationFactoryto actually write or read the layout.GetsthisasS.Gets the unique identifier of theDockFactorythat stores and loads the layout of this station.Gets the model of this station.voidrequestDockTitle(DockTitleRequest request) Methods inherited from class bibliothek.gui.dock.FlapDockStation
add, add, addFlapDockStationListener, aside, callDockUiUpdateTheme, canDrag, canReplace, changed, combine, combine, createButtonPane, createFlapWindow, createHoldAction, createRootHandler, drag, drop, drop, drop, fireHoldChanged, getBorderSideSnapSize, getButton, getButtonVersion, getCombiner, getComponent, getCurrentFlapLayoutManager, getDefaultWindowSize, getDirectActionOffers, getDirection, getDisplayerFactory, getDisplayers, getDockable, getDockableCount, getDockableProperty, getFlapLayoutManager, getFlapWindow, getFrontDockable, getHandle, getMinimumSize, getPaint, getPlaceholderMapping, getPlaceholders, getPlaceholders, getPlaceholderStrategy, getTitleVersion, getWindowBorder, getWindowMinSize, getWindowSize, indexOf, init, isAutoDirection, isFlapWindow, isHold, isOverButtons, isSmallButtons, isVisible, move, orientation, prepareDrag, prepareDrop, recreateTitles, remove, remove, removeFlapDockStationListener, replace, replace, selfSetDirection, setAutoDirection, setBorderSideSnapSize, setController, setDefaultWindowSize, setDirection, setDockParent, setFlapLayoutManager, setFrontDockable, setHold, setMinimumSize, setPlaceholders, setPlaceholders, setPlaceholderStrategy, setSmallButtons, setWindowBorder, setWindowMinSize, setWindowSize, updateHold, updateWindowBounds, updateWindowSizeMethods inherited from class bibliothek.gui.dock.station.AbstractDockableStation
accept, acceptable, acceptable, addDockStationListener, createTitleIcon, delegate, fireDockablesRepositioned, fireDockablesRepositioned, getIndirectActionOffers, getTheme, isChildShowing, isStationShowing, isStationVisible, removeDockStationListener, requestChildDisplayer, requestChildDockTitle, updateThemeMethods inherited from class bibliothek.gui.dock.dockable.AbstractDockable
accept, accept, addDockableListener, addDockableStateListener, addDockHierarchyListener, addKeyListener, addMouseInputListener, bind, configureDisplayerHints, fireTitleBound, fireTitleExchanged, fireTitleExchanged, fireTitleIconChanged, fireTitleTextChanged, fireTitleTooltipChanged, fireTitleUnbound, getComponentConfiguration, getConfigurableDisplayerHints, getController, getDockableStateListeners, getDockElementObserver, getDockParent, getElement, getGlobalActionOffers, getLocalActionOffers, getPopupLocation, getRootHandler, getTitleIcon, getTitleIconHandling, getTitleText, getTitleToolTip, isDockableShowing, isDockableVisible, isUsedAsTitle, listBoundTitles, removeDockableListener, removeDockableStateListener, removeDockHierarchyListener, removeKeyListener, removeMouseInputListener, requestDisplayer, resetTitleIcon, setActionOffers, setComponentConfiguration, setTitleIcon, setTitleIconHandling, setTitleText, setTitleToolTip, shouldFocus, shouldTransfersFocus, unbindMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface bibliothek.gui.dock.component.DockComponentRoot
getComponentConfiguration, setComponentConfigurationMethods inherited from interface bibliothek.gui.DockStation
accept, addDockStationListener, aside, canDrag, canReplace, changed, drag, drop, drop, getController, getDirectActionOffers, getDockable, getDockableCount, getDockableProperty, getFrontDockable, getIndirectActionOffers, getPlaceholderMapping, getPlaceholders, getTheme, isChildShowing, isStationShowing, isStationVisible, isVisible, move, prepareDrag, prepareDrop, removeDockStationListener, replace, replace, requestChildDisplayer, requestChildDockTitle, setController, setFrontDockable, setPlaceholders, updateTheme
-
Constructor Details
-
CFlapDockStation
Creates a new station.- Parameters:
expansion- theComponentwhich should define the size and location of this station, can benulldelegate- offers additional methods required by this station
-
-
Method Details
-
getFactoryID
Description copied from interface:CommonDockStationGets the unique identifier of theDockFactorythat stores and loads the layout of this station. ForCommonDockStations the result should always beCommonDockStationFactory.FACTORY_ID- Specified by:
getFactoryIDin interfaceCommonDockStation<FlapDockStation,CFlapDockStation> - Specified by:
getFactoryIDin interfaceDockElement- Overrides:
getFactoryIDin classFlapDockStation- See Also:
-
getConverterID
Description copied from interface:CommonDockStationGets the unique identifier of theDockFactorythat should be used by theCommonDockStationFactoryto actually write or read the layout. Usually the result of this method is the same result asDockElement.getFactoryID()(note: the factory id from the super class).- Specified by:
getConverterIDin interfaceCommonDockStation<FlapDockStation,CFlapDockStation> - Returns:
- the unique identifier of a
DockFactory. Can benullifCommonDockStation.getFactoryID()does not returnCommonDockStationFactory.FACTORY_ID
-
getDockable
-
getSources
-
getStation
Description copied from interface:CommonDockStationGets the model of this station.- Specified by:
getStationin interfaceCommonDockStation<FlapDockStation,CFlapDockStation> - Returns:
- the model, may not be
null
-
getDockStation
Description copied from interface:CommonDockStationGetsthisasS.- Specified by:
getDockStationin interfaceCommonDockStation<FlapDockStation,CFlapDockStation> - Returns:
this
-
asDockStation
Description copied from interface:CommonDockStationReturnsthisas station of typeC. This method is not allowed to returnnull.- Specified by:
asDockStationin interfaceCommonDockStation<FlapDockStation,CFlapDockStation> - Specified by:
asDockStationin interfaceCommonElement- Specified by:
asDockStationin interfaceDockElement- Overrides:
asDockStationin classAbstractDockableStation- Returns:
this
-
asDockable
- Specified by:
asDockablein interfaceCommonElement- Specified by:
asDockablein interfaceDockElement- Specified by:
asDockablein interfacePlaceholderListItem<Dockable>- Overrides:
asDockablein classAbstractDockable
-
getLayers
- Specified by:
getLayersin interfaceDockStation- Overrides:
getLayersin classFlapDockStation
-
createHandle
- Overrides:
createHandlein classFlapDockStation
-
getExpansionBounds
- Overrides:
getExpansionBoundsin classFlapDockStation
-
requestDockTitle
- Specified by:
requestDockTitlein interfaceDockable- Overrides:
requestDockTitlein classAbstractDockable
-