public class ToolbarDockableDisplayer
extends bibliothek.gui.dock.themes.basic.BasicDockableDisplayer
DockableDisplayer
that can be used by
toolbar-DockStation
s. This displayer is aware of the fact, that some
DockStation
s have an orientation and may update its own orientation
automatically.bibliothek.gui.dock.themes.basic.BasicDockableDisplayer.DisplayerBorder, bibliothek.gui.dock.themes.basic.BasicDockableDisplayer.Hints
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
java.awt.Container.AccessibleAWTContainer
Modifier and Type | Field and Description |
---|---|
static bibliothek.gui.dock.station.DisplayerFactory |
FACTORY
A factory creating new
ToolbarDockableDisplayer s. |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
ToolbarDockableDisplayer(bibliothek.gui.DockStation station,
bibliothek.gui.Dockable dockable,
bibliothek.gui.dock.title.DockTitle title)
Creates a new displayer.
|
Modifier and Type | Method and Description |
---|---|
protected java.awt.Component |
getComponent(bibliothek.gui.Dockable dockable) |
protected javax.swing.border.Border |
getDefaultBorder() |
java.awt.Insets |
getDockableInsets() |
protected Orientation |
getOrientation()
Tries to find out the current
Orientation of the Dockable . |
void |
setController(bibliothek.gui.DockController controller) |
void |
setDockable(bibliothek.gui.Dockable dockable) |
protected void |
setOrientation(Orientation orientation)
Called if the orientation of the current
Dockable changed. |
protected void |
updateBorder() |
addDockableDisplayerListener, createContentPane, createMinimalDecorator, createRootHandler, createStackedDecorator, createStackedDecorator, createTabDecorator, fireMoveableElementChanged, getComponent, getComponent, getComponentConfiguration, getController, getDefaultBorderHint, getDockable, getHints, getMoveableElement, getStation, getTitle, getTitleCenter, getTitleLocation, init, isRespectBorderHint, isSingleTabShowing, isSingleTabShowInnerBorder, isSingleTabShowOuterBorder, isStacked, isTabInside, listeners, orientation, prepareCombination, removeDockableDisplayerListener, resetDecorator, setBaseBorder, setComponentConfiguration, setContentBorder, setDecorator, setDefaultBorderHint, setRespectBorderHint, setSingleTabShowInnerBorder, setSingleTabShowOuterBorder, setStacked, setStation, setTabInside, setTitle, setTitleLocation, titleContains, updateDecorator, updateDecorator, updateUI
configure, setupRenderingHints
getBackgroundAlgorithm, getTransparency, paint, paintBackground, paintBorder, paintChildren, paintComponent, paintForeground, paintOverlay, setBackground, setTransparency
getAccessibleContext, getUI, getUIClassID, paramString, setUI
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, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, 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
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, 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, remove, removeAll, 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, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static final bibliothek.gui.dock.station.DisplayerFactory FACTORY
ToolbarDockableDisplayer
s.public ToolbarDockableDisplayer(bibliothek.gui.DockStation station, bibliothek.gui.Dockable dockable, bibliothek.gui.dock.title.DockTitle title)
station
- the owner of this displayerdockable
- the element shown on this displayer, can be null
title
- the title shown on this displayer, can be null
protected java.awt.Component getComponent(bibliothek.gui.Dockable dockable)
getComponent
in class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer
protected javax.swing.border.Border getDefaultBorder()
getDefaultBorder
in class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer
protected void updateBorder()
updateBorder
in class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer
public void setController(bibliothek.gui.DockController controller)
setController
in interface bibliothek.gui.dock.station.DockableDisplayer
setController
in class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer
public void setDockable(bibliothek.gui.Dockable dockable)
setDockable
in interface bibliothek.gui.dock.station.DockableDisplayer
setDockable
in class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer
public java.awt.Insets getDockableInsets()
getDockableInsets
in interface bibliothek.gui.dock.station.DockableDisplayer
getDockableInsets
in class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer
protected Orientation getOrientation()
Orientation
of the Dockable
.null
protected void setOrientation(Orientation orientation)
Dockable
changed.orientation
- the new orientation, can be null