Save This Page
Home » openjdk-7 » javax » swing » plaf » metal » [javadoc | source]
javax.swing.plaf.metal
public class: MetalToolBarUI [javadoc | source]
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

A Metal Look and Feel implementation of ToolBarUI. This implementation is a "combined" view/controller.

Nested Class Summary:
protected class  MetalToolBarUI.MetalContainerListener   
protected class  MetalToolBarUI.MetalRolloverListener   
protected class  MetalToolBarUI.MetalDockingListener   
Field Summary
protected  ContainerListener contListener    This protected field is implemenation specific. Do not access directly or override. Use the create method instead. 
protected  PropertyChangeListener rolloverListener    This protected field is implemenation specific. Do not access directly or override. Use the create method instead. 
Fields inherited from javax.swing.plaf.basic.BasicToolBarUI:
toolBar,  dragWindow,  focusedCompIndex,  dockingColor,  floatingColor,  dockingBorderColor,  floatingBorderColor,  dockingListener,  propertyListener,  toolBarContListener,  toolBarFocusListener,  constraintBeforeFloating,  upKey,  downKey,  leftKey,  rightKey
Method from javax.swing.plaf.metal.MetalToolBarUI Summary:
createContainerListener,   createDockingListener,   createNonRolloverBorder,   createRolloverBorder,   createRolloverListener,   createUI,   doesMenuBarBorderToolBar,   findRegisteredComponentOfType,   installListeners,   installUI,   register,   setBorderToNonRollover,   setDragOffset,   uninstallListeners,   uninstallUI,   unregister,   update
Methods from javax.swing.plaf.basic.BasicToolBarUI:
canDock,   createDockingListener,   createDragWindow,   createFloatingFrame,   createFloatingWindow,   createFrameListener,   createNonRolloverBorder,   createPropertyListener,   createRolloverBorder,   createToolBarContListener,   createToolBarFocusListener,   createUI,   dragTo,   floatAt,   getDockingColor,   getFloatingColor,   getInputMap,   getNonRolloverBorder,   getRolloverBorder,   installComponents,   installDefaults,   installKeyboardActions,   installListeners,   installNonRolloverBorders,   installNormalBorders,   installRolloverBorders,   installUI,   isFloating,   isRolloverBorders,   loadActionMap,   navigateFocusedComp,   paintDragWindow,   setBorderToNonRollover,   setBorderToNormal,   setBorderToRollover,   setDockingColor,   setFloating,   setFloatingColor,   setFloatingLocation,   setOrientation,   setRolloverBorders,   uninstallComponents,   uninstallDefaults,   uninstallKeyboardActions,   uninstallListeners,   uninstallUI
Methods from javax.swing.plaf.ComponentUI:
contains,   createUI,   getAccessibleChild,   getAccessibleChildrenCount,   getBaseline,   getBaselineResizeBehavior,   getMaximumSize,   getMinimumSize,   getPreferredSize,   installUI,   paint,   uninstallUI,   update
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.metal.MetalToolBarUI Detail:
 protected ContainerListener createContainerListener() 
    Creates a container listener that will be added to the JToolBar. If this method returns null then it will not be added to the toolbar.
 protected MouseInputListener createDockingListener() 
 protected Border createNonRolloverBorder() 
 protected Border createRolloverBorder() 
 protected PropertyChangeListener createRolloverListener() 
    Creates a property change listener that will be added to the JToolBar. If this method returns null then it will not be added to the toolbar.
 public static ComponentUI createUI(JComponent c) 
 static boolean doesMenuBarBorderToolBar(JMenuBar c) 
    Returns true if the passed in JMenuBar is above a horizontal JToolBar.
 static synchronized Object findRegisteredComponentOfType(JComponent from,
    Class target) 
    Finds a previously registered component of class target that shares the JRootPane ancestor of from.
 protected  void installListeners() 
 public  void installUI(JComponent c) 
 static synchronized  void register(JComponent c) 
    Registers the specified component.
 protected  void setBorderToNonRollover(Component c) 
 protected  void setDragOffset(Point p) 
 protected  void uninstallListeners() 
 public  void uninstallUI(JComponent c) 
 static synchronized  void unregister(JComponent c) 
    Unregisters the specified component.
 public  void update(Graphics g,
    JComponent c) 
    If necessary paints the background of the component, then invokes paint.