public class PlasticToolBarUI extends MetalToolBarUI
ToolBarUI
.
Corrects the rollover borders and can handle optional Border
types,
as specified by the BorderStyle
or HeaderStyle
client properties.
MetalToolBarUI.MetalContainerListener, MetalToolBarUI.MetalDockingListener, MetalToolBarUI.MetalRolloverListener
BasicToolBarUI.DockingListener, BasicToolBarUI.DragWindow, BasicToolBarUI.FrameListener, BasicToolBarUI.PropertyListener, BasicToolBarUI.ToolBarContListener, BasicToolBarUI.ToolBarFocusListener
contListener, rolloverListener
constraintBeforeFloating, dockingBorderColor, dockingColor, dockingListener, downKey, dragWindow, floatingBorderColor, floatingColor, focusedCompIndex, leftKey, propertyListener, rightKey, toolBar, toolBarContListener, toolBarFocusListener, upKey
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
Constructor and Description |
---|
PlasticToolBarUI() |
Modifier and Type | Method and Description |
---|---|
protected Border |
createRolloverBorder() |
static ComponentUI |
createUI(JComponent b) |
protected void |
installDefaults()
Installs a special border, if indicated by the
HeaderStyle . |
protected void |
installListeners() |
protected void |
setBorderToRollover(Component c) |
protected void |
uninstallListeners() |
void |
update(Graphics g,
JComponent c) |
createContainerListener, createDockingListener, createNonRolloverBorder, createRolloverListener, installUI, setBorderToNonRollover, setDragOffset, uninstallUI
canDock, createDragWindow, createFloatingFrame, createFloatingWindow, createFrameListener, createPropertyListener, createToolBarContListener, createToolBarFocusListener, dragTo, floatAt, getDockingColor, getFloatingColor, getNonRolloverBorder, getRolloverBorder, installComponents, installKeyboardActions, installNonRolloverBorders, installNormalBorders, installRolloverBorders, isFloating, isRolloverBorders, navigateFocusedComp, paintDragWindow, setBorderToNormal, setDockingColor, setFloating, setFloatingColor, setFloatingLocation, setOrientation, setRolloverBorders, uninstallComponents, uninstallDefaults, uninstallKeyboardActions
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint
public static ComponentUI createUI(JComponent b)
protected Border createRolloverBorder()
createRolloverBorder
in class MetalToolBarUI
protected void setBorderToRollover(Component c)
setBorderToRollover
in class BasicToolBarUI
protected void installDefaults()
HeaderStyle
.installDefaults
in class BasicToolBarUI
protected void installListeners()
installListeners
in class MetalToolBarUI
protected void uninstallListeners()
uninstallListeners
in class MetalToolBarUI
public void update(Graphics g, JComponent c)
update
in class MetalToolBarUI
Copyright © 2014 JGoodies Software GmbH. All Rights Reserved.