bibliothek.gui.dock.security
Class SecureFlapDockStation
java.lang.Object
bibliothek.gui.dock.dockable.AbstractDockable
bibliothek.gui.dock.station.AbstractDockableStation
bibliothek.gui.dock.FlapDockStation
bibliothek.gui.dock.security.SecureFlapDockStation
- All Implemented Interfaces:
- DockElement, Dockable, DockStation
public class SecureFlapDockStation
- extends FlapDockStation
A FlapDockStation
that uses SecureFlapWindow
instead
of FlapWindow
.
- Author:
- Benjamin Sigg
Methods inherited from class bibliothek.gui.dock.FlapDockStation |
add, add, addFlapDockStationListener, bind, callDockUiUpdateTheme, canDrag, canReplace, changed, combine, createHoldAction, drag, draw, drop, drop, drop, drop, fireHoldChanged, forget, getButtonVersion, getCombiner, getComponent, getDefaultWindowSize, getDirectActionOffers, getDirection, getDisplayerFactory, getDisplayers, getDockable, getDockableCount, getDockableProperty, getExpansionBounds, getFlapLayoutManager, getFrontDockable, getPaint, getStationBounds, getTitleVersion, getWindowBorder, getWindowMinSize, getWindowSize, indexOf, init, isAutoDirection, isFlapWindow, isHold, isInOverrideZone, isSmallButtons, isVisible, move, move, orientation, prepareDrop, prepareMove, remove, remove, removeFlapDockStationListener, replace, selfSetDirection, setAutoDirection, setDefaultWindowSize, setDirection, setDockParent, setFlapLayoutManager, setFrontDockable, setHold, setSmallButtons, setWindowBorder, setWindowMinSize, setWindowSize, unbind, updateHold, updateWindowBounds, updateWindowSize |
Methods inherited from class bibliothek.gui.dock.station.AbstractDockableStation |
accept, addDockStationListener, asDockStation, canCompare, compare, getDockTitle, getIndirectActionOffers, getTheme, isStationVisible, removeDockStationListener, updateTheme |
Methods inherited from class bibliothek.gui.dock.dockable.AbstractDockable |
accept, accept, addDockableListener, addDockHierarchyListener, addMouseInputListener, asDockable, bind, fireTitleBound, fireTitleIconChanged, fireTitleTextChanged, fireTitleUnbound, getController, getDockParent, getGlobalActionOffers, getLocalActionOffers, getTitleIcon, getTitleText, listBoundTitles, removeDockableListener, removeDockHierarchyListener, removeMouseInputListener, setActionOffers, setTitleIcon, setTitleText, unbind |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureFlapDockStation
public SecureFlapDockStation()
- Creates a new station
setController
public void setController(DockController controller)
- Description copied from interface:
Dockable
- Sets the controller in whose realm this Dockable is. A value of
null
means that this Dockable
is not managed by a controller.
Note: this method has to inform all DockHierarchyListener
s about the change.
Note: when using a DockHierarchyObserver
, invoke
DockHierarchyObserver.controllerChanged(DockController)
- Specified by:
setController
in interface Dockable
- Specified by:
setController
in interface DockStation
- Overrides:
setController
in class FlapDockStation
- Parameters:
controller
- the owner, may be null
createButtonPane
protected ButtonPane createButtonPane(Map<Dockable,DockTitle> buttonTitles)
- Description copied from class:
FlapDockStation
- Creates the panel which will show buttons for the children of this station.
- Overrides:
createButtonPane
in class FlapDockStation
- Parameters:
buttonTitles
- a map which will be modified by the station, containing
all children and their buttons.
- Returns:
- the new panel
createFlapWindow
protected SecureFlapWindow createFlapWindow(Window owner,
ButtonPane buttonPane)
- Description copied from class:
FlapDockStation
- Creates a window for this station.
- Overrides:
createFlapWindow
in class FlapDockStation
- Parameters:
owner
- the owner of the windowbuttonPane
- the panel needed to calculate the size of the window
- Returns:
- the window or
null
if no window could be created
getFactoryID
public String getFactoryID()
- Description copied from interface:
DockElement
- Gets the unique name of the
DockFactory
which can read
and write elements of this type.
- Specified by:
getFactoryID
in interface DockElement
- Overrides:
getFactoryID
in class FlapDockStation
- Returns:
- the id of the factory