@FrameworkOnly public class CSplitDockStation extends SplitDockStation implements CommonDockStation<SplitDockStation,CSplitDockStation>, CommonDockable
SplitDockStation
that also satisfies the CommonDockStation
interface.SplitDockStation.Access, SplitDockStation.Orientation
JLayeredPane.AccessibleJLayeredPane
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
DISPLAYER_ID, DIVIDER_STRATEGY, dockStationListeners, LAYOUT_MANAGER, MAXIMIZE_ACCELERATOR, TITLE_ID
DEFAULT_LAYER, DRAG_LAYER, FRAME_CONTENT_LAYER, LAYER_PROPERTY, MODAL_LAYER, PALETTE_LAYER, POPUP_LAYER
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
CSplitDockStation(CommonStationDelegate<CSplitDockStation> delegate) |
Modifier and Type | Method and Description |
---|---|
CommonDockable |
asDockable()
|
CSplitDockStation |
asDockStation()
|
protected ListeningDockAction |
createFullScreenAction()
Creates an
action which is added to all children
of this station. |
String |
getConverterID()
Gets the unique identifier of the
DockFactory that should be used by the CommonDockStationFactory
to actually write or read the layout. |
CDockable |
getDockable()
Gets the model of this dockable.
|
SplitDockStation |
getDockStation()
Gets
this as S . |
String |
getFactoryID()
Gets the unique name of the
DockFactory which can read
and write elements of this type. |
DockActionSource[] |
getSources()
Gets a set of
DockActionSource s which are to be displayed
on this CommonDockable . |
CStation<CSplitDockStation> |
getStation()
Gets the model of this station.
|
void |
requestDockTitle(DockTitleRequest request)
Invoked to get a graphical representation of a title for this
Dockable . |
void |
setFrontDockable(Dockable dockable)
Sets the most important child.
|
void |
setNextFullScreen()
Switches the child which is in fullscreen-mode.
|
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, visit
createGlassPane, install, isUseGlassPane, setUseGlassPane, uninstall
doLayout, getBasePane, getContentPane, getMaximumSize, isSolid, setBasePane, setContentPane, setSolid
addImpl, getAccessibleContext, getComponentCountInLayer, getComponentsInLayer, getComponentToLayer, getIndexOf, getLayer, getLayer, getLayeredPaneAbove, getObjectForLayer, getPosition, highestLayer, insertIndexForLayer, isOptimizedDrawingEnabled, lowestLayer, moveToBack, moveToFront, paint, paramString, putLayer, remove, removeAll, setLayer, setLayer, setPosition
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, 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, updateUI
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, validateTree
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, getPeer, 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, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
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, unbind
getElement, getPopupLocation, isUsedAsTitle, shouldFocus, shouldTransfersFocus
getComponentConfiguration, setComponentConfiguration
public CSplitDockStation(CommonStationDelegate<CSplitDockStation> delegate)
public String getFactoryID()
DockElement
DockFactory
which can read
and write elements of this type.getFactoryID
in interface CommonDockable
getFactoryID
in interface CommonDockStation<SplitDockStation,CSplitDockStation>
getFactoryID
in interface DockElement
getFactoryID
in class SplitDockStation
CommonDockStation.getConverterID()
public String getConverterID()
CommonDockStation
DockFactory
that should be used by the CommonDockStationFactory
to actually write or read the layout. Usually the result of this method is the same result
as DockElement.getFactoryID()
(note: the factory id from the super class).getConverterID
in interface CommonDockStation<SplitDockStation,CSplitDockStation>
DockFactory
. Can be null
if
CommonDockStation.getFactoryID()
does not return CommonDockStationFactory.FACTORY_ID
public CDockable getDockable()
CommonDockable
getDockable
in interface CommonDockable
public CStation<CSplitDockStation> getStation()
CommonDockStation
getStation
in interface CommonDockable
getStation
in interface CommonDockStation<SplitDockStation,CSplitDockStation>
null
public SplitDockStation getDockStation()
CommonDockStation
this
as S
.getDockStation
in interface CommonDockStation<SplitDockStation,CSplitDockStation>
this
public CSplitDockStation asDockStation()
DockElement
asDockStation
in interface CommonElement
asDockStation
in interface CommonDockStation<SplitDockStation,CSplitDockStation>
asDockStation
in interface DockElement
asDockStation
in class SplitDockStation
this
or null
. Must not return null
if DockElement.asDockable()
already returns null
public CommonDockable asDockable()
DockElement
asDockable
in interface CommonElement
asDockable
in interface DockElement
asDockable
in interface PlaceholderListItem<Dockable>
asDockable
in class SplitDockStation
this
or null
. Must not return null
if DockElement.asDockable()
already returns null
.protected ListeningDockAction createFullScreenAction()
SplitDockStation
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.createFullScreenAction
in class SplitDockStation
null
if this feature should be
disabled, or the action is set later
public void setNextFullScreen()
SplitDockStation
setNextFullScreen
in class SplitDockStation
public void setFrontDockable(Dockable dockable)
DockStation
DockStation.getFrontDockable()
how stations can change
this property.setFrontDockable
in interface DockStation
setFrontDockable
in class SplitDockStation
dockable
- the new favorite child, can be null
DockStation.getFrontDockable()
public DockActionSource[] getSources()
CommonDockable
DockActionSource
s which are to be displayed
on this CommonDockable
. Note that every call to this
method should return the same array of sources. Callers should not
modify the result.getSources
in interface CommonDockable
public void requestDockTitle(DockTitleRequest request)
Dockable
Dockable
. This method is
called either when a title first is required, or when this Dockable
invoked the DockableListener.titleExchanged(Dockable, DockTitle)
method of its
current observers. Dockable
might decide to answer the request by calling
DockTitleRequest.answer(DockTitle)
, any title, including null
are
valid answers. If this Dockable
does not answer the request the associated
DockTitleFactory
(as described by DockTitleVersion.getFactory()
) is
asked to answer the request.target
must be this Dockable
.requestDockTitle
in interface Dockable
requestDockTitle
in class SplitDockStation
request
- which title is required. If this Dockable does not have
a special rule for the given request it just ignores the call