Class CSplitDockStation
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLayeredPane
bibliothek.gui.dock.station.OverpaintablePanel
bibliothek.gui.dock.security.SecureContainer
bibliothek.gui.dock.SplitDockStation
bibliothek.gui.dock.common.intern.station.CSplitDockStation
- All Implemented Interfaces:
CommonDockable,CommonElement,CommonDockStation<SplitDockStation,,CSplitDockStation> DockComponentRoot,DockElement,DockElementRepresentative,PlaceholderListItem<Dockable>,Dockable,DockStation,ImageObserver,MenuContainer,Serializable,Accessible
@FrameworkOnly
public class CSplitDockStation
extends SplitDockStation
implements CommonDockStation<SplitDockStation,CSplitDockStation>, CommonDockable
An implementation of
SplitDockStation that also satisfies the CommonDockStation interface.- Author:
- Benjamin Sigg
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class bibliothek.gui.dock.SplitDockStation
SplitDockStation.Access, SplitDockStation.OrientationNested classes/interfaces inherited from class javax.swing.JLayeredPane
JLayeredPane.AccessibleJLayeredPaneNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
Fields inherited from class bibliothek.gui.dock.SplitDockStation
DISPLAYER_ID, DIVIDER_STRATEGY, dockStationListeners, LAYOUT_MANAGER, MAXIMIZE_ACCELERATOR, TITLE_IDFields inherited from class javax.swing.JLayeredPane
DEFAULT_LAYER, DRAG_LAYER, FRAME_CONTENT_LAYER, LAYER_PROPERTY, MODAL_LAYER, PALETTE_LAYER, POPUP_LAYERFields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturnsthisas station of typeC.protected ListeningDockActionGets the unique identifier of theDockFactorythat should be used by theCommonDockStationFactoryto actually write or read the layout.Gets the model of this dockable.GetsthisasS.Gets the unique identifier of theDockFactorythat stores and loads the layout of this station.Gets a set ofDockActionSources which are to be displayed on thisCommonDockable.Gets the model of this station.voidrequestDockTitle(DockTitleRequest request) voidsetFrontDockable(Dockable dockable) voidMethods inherited from class bibliothek.gui.dock.SplitDockStation
accept, accept, accept, addDockable, addDockableListener, addDockableStateListener, addDockHierarchyListener, addDockStationListener, addMouseInputListener, addSplitDockStationListener, aside, bind, callDockUiUpdateTheme, canDrag, canReplace, changed, configureDisplayerHints, createPlaceholderConverter, createRootHandler, createTree, createTree, discard, drag, drop, drop, drop, drop, drop, drop, dropAside, dropGrid, dropOver, dropOver, dropTree, dropTree, fireFullScreenChanged, fireTitleExchanged, fireTitleExchanged, getAccess, getBorderSideSnapSize, getCombiner, getComponent, getComponentConfiguration, getConfigurableDisplayerHints, getController, getCurrentSplitLayoutManager, getDirectActionOffers, getDisplayerFactory, getDisplayers, getDividerSize, getDividerStrategy, getDockable, getDockableCount, getDockableLocationProperty, getDockablePathProperty, getDockablePathProperty, getDockablePlaceholderProperty, getDockableProperty, getDockParent, getDropInfo, getDropInfo, getElement, getFrontDockable, getFullScreen, getGlobalActionOffers, getIndirectActionOffers, getLayers, getLocalActionOffers, getLowestNode, getMinimumLeafSize, getMinimumSize, getNode, getNodeFactory, getPaint, getPlaceholderMapping, getPlaceholders, getPlaceholderStrategy, getPopupLocation, getPreferredSize, getRoot, getSideSnapSize, getSpanStrategy, getSplitLayoutManager, getTheme, getTitleIcon, getTitleText, getTitleToolTip, hasFullScreenAction, indexOfDockable, isAllowSideSnap, isChildShowing, isContinousDisplay, isDisabled, isDockableShowing, isDockableVisible, isExpandOnDoubleclick, isFullScreen, isResizingEnabled, isStationShowing, isStationVisible, isUsedAsTitle, isVisible, listBoundTitles, move, paintOverlay, prepareDrag, prepareDrop, removeAllDockables, removeDockable, removeDockableListener, removeDockableStateListener, removeDockHierarchyListener, removeDockStationListener, removeMouseInputListener, removePlaceholder, removePlaceholders, removeSplitDockStationListener, replace, replace, requestChildDisplayer, requestChildDockTitle, requestDisplayer, resetTitleIcon, root, setAllowSideSnap, setBorderSideSnapSize, setComponentConfiguration, setContinousDisplay, setController, setDisabled, setDividerSize, setDividerStrategy, setDockParent, setDropInfo, setExpandOnDoubleclick, setFullScreen, setFullScreenAction, setMinimumLeafSize, setNodeFactory, setPlaceholders, setPlaceholderStrategy, setPut, setResizingEnabled, setSideSnapSize, setSplitLayoutManager, setTitleIcon, setTitleText, setTitleToolTip, shouldFocus, shouldTransfersFocus, toString, unbind, unsetDropInfo, unsetPut, updateBounds, updateConfigurableDisplayerHints, updateTheme, updateVisibility, visitMethods inherited from class bibliothek.gui.dock.security.SecureContainer
createGlassPane, install, isUseGlassPane, setUseGlassPane, uninstallMethods inherited from class bibliothek.gui.dock.station.OverpaintablePanel
doLayout, getBasePane, getContentPane, getMaximumSize, isSolid, setBasePane, setContentPane, setSolidMethods inherited from class javax.swing.JLayeredPane
addImpl, getAccessibleContext, getComponentCountInLayer, getComponentsInLayer, getComponentToLayer, getIndexOf, getLayer, getLayer, getLayeredPaneAbove, getObjectForLayer, getPosition, highestLayer, insertIndexForLayer, isOptimizedDrawingEnabled, lowestLayer, moveToBack, moveToFront, paint, paramString, putLayer, remove, removeAll, setLayer, setLayer, setPositionMethods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUI, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUIMethods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeMethods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface bibliothek.gui.Dockable
accept, accept, addDockableListener, addDockableStateListener, addDockHierarchyListener, addMouseInputListener, bind, configureDisplayerHints, getComponent, getController, getDockParent, getGlobalActionOffers, getLocalActionOffers, getTitleIcon, getTitleText, getTitleToolTip, isDockableShowing, isDockableVisible, listBoundTitles, removeDockableListener, removeDockableStateListener, removeDockHierarchyListener, removeMouseInputListener, requestDisplayer, setController, setDockParent, unbindMethods inherited from interface bibliothek.gui.dock.component.DockComponentRoot
getComponentConfiguration, setComponentConfigurationMethods inherited from interface bibliothek.gui.dock.DockElementRepresentative
getElement, getPopupLocation, isUsedAsTitle, shouldFocus, shouldTransfersFocusMethods inherited from interface bibliothek.gui.DockStation
accept, addDockStationListener, aside, canDrag, canReplace, changed, drag, drop, drop, getController, getDirectActionOffers, getDockable, getDockableCount, getDockableProperty, getFrontDockable, getIndirectActionOffers, getLayers, getPlaceholderMapping, getPlaceholders, getTheme, isChildShowing, isStationShowing, isStationVisible, isVisible, move, prepareDrag, prepareDrop, removeDockStationListener, replace, replace, requestChildDisplayer, requestChildDockTitle, setController, setPlaceholders, updateTheme
-
Constructor Details
-
CSplitDockStation
-
-
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 interfaceCommonDockable- Specified by:
getFactoryIDin interfaceCommonDockStation<SplitDockStation,CSplitDockStation> - Specified by:
getFactoryIDin interfaceDockElement- Overrides:
getFactoryIDin classSplitDockStation- Returns:
- the name of the factory
- 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<SplitDockStation,CSplitDockStation> - Returns:
- the unique identifier of a
DockFactory. Can benullifCommonDockStation.getFactoryID()does not returnCommonDockStationFactory.FACTORY_ID
-
getDockable
Description copied from interface:CommonDockableGets the model of this dockable.- Specified by:
getDockablein interfaceCommonDockable- Returns:
- the model
-
getStation
Description copied from interface:CommonDockStationGets the model of this station.- Specified by:
getStationin interfaceCommonDockable- Specified by:
getStationin interfaceCommonDockStation<SplitDockStation,CSplitDockStation> - Returns:
- the model, may not be
null
-
getDockStation
Description copied from interface:CommonDockStationGetsthisasS.- Specified by:
getDockStationin interfaceCommonDockStation<SplitDockStation,CSplitDockStation> - Returns:
this
-
asDockStation
Description copied from interface:CommonDockStationReturnsthisas station of typeC. This method is not allowed to returnnull.- Specified by:
asDockStationin interfaceCommonDockStation<SplitDockStation,CSplitDockStation> - Specified by:
asDockStationin interfaceCommonElement- Specified by:
asDockStationin interfaceDockElement- Overrides:
asDockStationin classSplitDockStation- Returns:
this
-
asDockable
- Specified by:
asDockablein interfaceCommonElement- Specified by:
asDockablein interfaceDockElement- Specified by:
asDockablein interfacePlaceholderListItem<Dockable>- Overrides:
asDockablein classSplitDockStation
-
createFullScreenAction
- Overrides:
createFullScreenActionin classSplitDockStation
-
setNextFullScreen
public void setNextFullScreen()- Overrides:
setNextFullScreenin classSplitDockStation
-
setFrontDockable
- Specified by:
setFrontDockablein interfaceDockStation- Overrides:
setFrontDockablein classSplitDockStation
-
getSources
Description copied from interface:CommonDockableGets a set ofDockActionSources which are to be displayed on thisCommonDockable. Note that every call to this method should return the same array of sources. Callers should not modify the result.- Specified by:
getSourcesin interfaceCommonDockable- Returns:
- the action sources, can be an empty array
-
requestDockTitle
- Specified by:
requestDockTitlein interfaceDockable- Overrides:
requestDockTitlein classSplitDockStation
-