javax.swing.plaf.metal
Class MetalToolBarUI
java.lang.Object
|
+--javax.swing.plaf.ComponentUI
|
+--javax.swing.plaf.ToolBarUI
|
+--javax.swing.plaf.basic.BasicToolBarUI
|
+--javax.swing.plaf.metal.MetalToolBarUI
- All Implemented Interfaces:
- SwingConstants
- public class MetalToolBarUI
- extends BasicToolBarUI
A Metal Look and Feel implementation of ToolBarUI. This implementation
is a "combined" view/controller.
Fields inherited from class javax.swing.plaf.basic.BasicToolBarUI |
dockingBorderColor, dockingColor, dockingListener, downKey, dragWindow, floatingBorderColor, floatingColor, focusedCompIndex, leftKey, propertyListener, rightKey, toolBar, toolBarContListener, toolBarFocusListener, upKey |
Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NORTH, NORTH_EAST, NORTH_WEST, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Methods inherited from class javax.swing.plaf.basic.BasicToolBarUI |
canDock, createDragWindow, createFloatingFrame, createFrameListener, createPropertyListener, createToolBarContListener, createToolBarFocusListener, dragTo, floatAt, getDockingColor, getFloatingColor, getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, isFloating, navigateFocusedComp, setDockingColor, setFloating, setFloatingColor, setFloatingLocation, setOrientation, uninstallComponents, uninstallDefaults, uninstallKeyboardActions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contListener
protected ContainerListener contListener
rolloverListener
protected PropertyChangeListener rolloverListener
MetalToolBarUI
public MetalToolBarUI()
createUI
public static ComponentUI createUI(JComponent c)
installUI
public void installUI(JComponent c)
- Overrides:
installUI
in class BasicToolBarUI
uninstallUI
public void uninstallUI(JComponent c)
- Overrides:
uninstallUI
in class BasicToolBarUI
installListeners
protected void installListeners()
- Overrides:
installListeners
in class BasicToolBarUI
uninstallListeners
protected void uninstallListeners()
- Overrides:
uninstallListeners
in class BasicToolBarUI
createContainerListener
protected ContainerListener createContainerListener()
createRolloverListener
protected PropertyChangeListener createRolloverListener()
createDockingListener
protected MouseInputListener createDockingListener()
- Overrides:
createDockingListener
in class BasicToolBarUI
setDragOffset
protected void setDragOffset(Point p)
isRolloverBorders
public boolean isRolloverBorders()
setRolloverBorders
public void setRolloverBorders(boolean rollover)
installRolloverBorders
protected void installRolloverBorders(JComponent c)
installNonRolloverBorders
protected void installNonRolloverBorders(JComponent c)
installNormalBorders
protected void installNormalBorders(JComponent c)
setBorderToRollover
protected void setBorderToRollover(Component c)
setBorderToNonRollover
protected void setBorderToNonRollover(Component c)
setBorderToNormal
protected void setBorderToNormal(Component c)
Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.