com.jgoodies.looks.windows
Class WindowsXPToolBarUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.ToolBarUI
          extended byjavax.swing.plaf.basic.BasicToolBarUI
              extended bycom.sun.java.swing.plaf.windows.WindowsToolBarUI
                  extended bycom.jgoodies.looks.windows.WindowsXPToolBarUI
All Implemented Interfaces:
SwingConstants

public final class WindowsXPToolBarUI
extends com.sun.java.swing.plaf.windows.WindowsToolBarUI

Adds behavior for handling different types of borders.

Version:
$Revision: 1.2 $
Author:
Karsten Lentzsch

Nested Class Summary
 
Nested classes inherited from class javax.swing.plaf.basic.BasicToolBarUI
BasicToolBarUI.DockingListener, BasicToolBarUI.DragWindow, BasicToolBarUI.FrameListener, BasicToolBarUI.PropertyListener, BasicToolBarUI.ToolBarContListener, BasicToolBarUI.ToolBarFocusListener
 
Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicToolBarUI
constraintBeforeFloating, 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, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
WindowsXPToolBarUI()
           
 
Method Summary
protected  BasicToolBarUI.DockingListener createDockingListener(JToolBar toolbar)
           
static ComponentUI createUI(JComponent b)
           
protected  void installDefaults()
           
protected  void installListeners()
           
 void paint(Graphics g, JComponent c)
           
protected  void setBorderToRollover(Component c)
           
protected  void uninstallListeners()
           
 
Methods inherited from class com.sun.java.swing.plaf.windows.WindowsToolBarUI
createNonRolloverBorder, createRolloverBorder
 
Methods inherited from class javax.swing.plaf.basic.BasicToolBarUI
canDock, createDockingListener, createDragWindow, createFloatingFrame, createFloatingWindow, createFrameListener, createPropertyListener, createToolBarContListener, createToolBarFocusListener, dragTo, floatAt, getDockingColor, getFloatingColor, getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installKeyboardActions, installNonRolloverBorders, installNormalBorders, installRolloverBorders, installUI, isFloating, isRolloverBorders, navigateFocusedComp, setBorderToNonRollover, setBorderToNormal, setDockingColor, setFloating, setFloatingColor, setFloatingLocation, setOrientation, setRolloverBorders, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsXPToolBarUI

public WindowsXPToolBarUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent b)

installDefaults

protected void installDefaults()

installListeners

protected void installListeners()

uninstallListeners

protected void uninstallListeners()

createDockingListener

protected BasicToolBarUI.DockingListener createDockingListener(JToolBar toolbar)

setBorderToRollover

protected void setBorderToRollover(Component c)

paint

public void paint(Graphics g,
                  JComponent c)


Copyright © 2001-2005 JGoodies Karsten Lentzsch. All Rights Reserved.