javax.swing.plaf.basic
Class BasicToolBarUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.ToolBarUI
              |
              +--javax.swing.plaf.basic.BasicToolBarUI
All Implemented Interfaces:
SwingConstants
Direct Known Subclasses:
MetalToolBarUI

public class BasicToolBarUI
extends ToolBarUI
implements SwingConstants

A Basic L&F implementation of ToolBarUI. This implementation is a "combined" view/controller.


Inner Class Summary
 class BasicToolBarUI.DockingListener
BasicToolBarUI.DockingListener
This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BasicToolBarUI.
protected  class BasicToolBarUI.DragWindow
protected  class BasicToolBarUI.FrameListener
protected  class BasicToolBarUI.PropertyListener
protected  class BasicToolBarUI.ToolBarContListener
protected  class BasicToolBarUI.ToolBarFocusListener
 
Field Summary
protected  Color dockingBorderColor
copy->  dockingBorderColor
protected  Color dockingColor
copy->  dockingColor
protected  MouseInputListener dockingListener
copy->  dockingListener
protected  KeyStroke downKey
copy->  downKey
Deprecated. As of Java 2 platform v1.3.

As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.
protected  BasicToolBarUI.DragWindow dragWindow
copy->  dragWindow
protected  Color floatingBorderColor
copy->  floatingBorderColor
protected  Color floatingColor
copy->  floatingColor
protected  int focusedCompIndex
copy->  focusedCompIndex
protected  KeyStroke leftKey
copy->  leftKey
Deprecated. As of Java 2 platform v1.3.

As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.
protected  PropertyChangeListener propertyListener
copy->  propertyListener
protected  KeyStroke rightKey
copy->  rightKey
Deprecated. As of Java 2 platform v1.3.

As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.
protected  JToolBar toolBar
copy->  toolBar
protected  ContainerListener toolBarContListener
copy->  toolBarContListener
protected  FocusListener toolBarFocusListener
copy->  toolBarFocusListener
protected  KeyStroke upKey
copy->  upKey
Deprecated. As of Java 2 platform v1.3.

As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.
 
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
 
Constructor Summary
BasicToolBarUI
copy->  new BasicToolBarUI()
copy->  <BasicToolBarUI var> = new BasicToolBarUI();
 
Method Summary
 boolean canDock(Component c, Point p)
copy->  .canDock(, )
copy->  <boolean var>=<BasicToolBarUI>.canDock(<Component c>, <Point p>);
protected  MouseInputListener createDockingListener()
copy->  .createDockingListener()
copy->  <MouseInputListener var>=<BasicToolBarUI>.createDockingListener();
protected  BasicToolBarUI.DragWindow createDragWindow(JToolBar toolbar)
copy->  .createDragWindow( )
copy->  <BasicToolBarUI.DragWindow var>=<BasicToolBarUI>.createDragWindow(<JToolBar toolbar>);
protected  JFrame createFloatingFrame(JToolBar toolbar)
copy->  .createFloatingFrame( )
copy->  <JFrame var>=<BasicToolBarUI>.createFloatingFrame(<JToolBar toolbar>);
protected  WindowListener createFrameListener()
copy->  .createFrameListener()
copy->  <WindowListener var>=<BasicToolBarUI>.createFrameListener();
protected  PropertyChangeListener createPropertyListener()
copy->  .createPropertyListener()
copy->  <PropertyChangeListener var>=<BasicToolBarUI>.createPropertyListener();
protected  ContainerListener createToolBarContListener()
copy->  .createToolBarContListener()
copy->  <ContainerListener var>=<BasicToolBarUI>.createToolBarContListener();
protected  FocusListener createToolBarFocusListener()
copy->  .createToolBarFocusListener()
copy->  <FocusListener var>=<BasicToolBarUI>.createToolBarFocusListener();
static ComponentUI createUI(JComponent c)
copy->  BasicToolBarUI.createUI( )
copy->  <ComponentUI var>=BasicToolBarUI.createUI(<JComponent c>);
protected  void dragTo(Point position, Point origin)
copy->  .dragTo(, )
copy->  <BasicToolBarUI>.dragTo(<Point position>, <Point origin>);
protected  void floatAt(Point position, Point origin)
copy->  .floatAt(, )
copy->  <BasicToolBarUI>.floatAt(<Point position>, <Point origin>);
 Color getDockingColor()
copy->  .getDockingColor()
copy->  <Color var>=<BasicToolBarUI>.getDockingColor();
Gets the color displayed when over a docking area
 Color getFloatingColor()
copy->  .getFloatingColor()
copy->  <Color var>=<BasicToolBarUI>.getFloatingColor();
Gets the color displayed when over a floating area
 Dimension getMaximumSize(JComponent c)
copy->  .getMaximumSize( )
copy->  <Dimension var>=<BasicToolBarUI>.getMaximumSize(<JComponent c>);
Overrides:
getMaximumSize in class ComponentUI
 Dimension getMinimumSize(JComponent c)
copy->  .getMinimumSize( )
copy->  <Dimension var>=<BasicToolBarUI>.getMinimumSize(<JComponent c>);
Overrides:
getMinimumSize in class ComponentUI
 Dimension getPreferredSize(JComponent c)
copy->  .getPreferredSize( )
copy->  <Dimension var>=<BasicToolBarUI>.getPreferredSize(<JComponent c>);
Overrides:
getPreferredSize in class ComponentUI
protected  void installComponents()
copy->  .installComponents()
copy->  <BasicToolBarUI>.installComponents();
protected  void installDefaults()
copy->  .installDefaults()
copy->  <BasicToolBarUI>.installDefaults();
protected  void installKeyboardActions()
copy->  .installKeyboardActions()
copy->  <BasicToolBarUI>.installKeyboardActions();
protected  void installListeners()
copy->  .installListeners()
copy->  <BasicToolBarUI>.installListeners();
 void installUI(JComponent c)
copy->  .installUI( )
copy->  <BasicToolBarUI>.installUI(<JComponent c>);
Overrides:
installUI in class ComponentUI
 boolean isFloating()
copy->  .isFloating()
copy->  <boolean var>=<BasicToolBarUI>.isFloating();
protected  void navigateFocusedComp(int direction)
copy->  .navigateFocusedComp( )
copy->  <BasicToolBarUI>.navigateFocusedComp(<int direction>);
 void setDockingColor(Color c)
copy->  .setDockingColor( )
copy->  <BasicToolBarUI>.setDockingColor(<Color c>);
Sets the color displayed when over a docking area
 void setFloating(boolean b, Point p)
copy->  .setFloating(, )
copy->  <BasicToolBarUI>.setFloating(<boolean b>, <Point p>);
 void setFloatingColor(Color c)
copy->  .setFloatingColor( )
copy->  <BasicToolBarUI>.setFloatingColor(<Color c>);
Sets the color displayed when over a floating area
 void setFloatingLocation(int x, int y)
copy->  .setFloatingLocation(, )
copy->  <BasicToolBarUI>.setFloatingLocation(<int x>, <int y>);
 void setOrientation(int orientation)
copy->  .setOrientation( )
copy->  <BasicToolBarUI>.setOrientation(<int orientation>);
protected  void uninstallComponents()
copy->  .uninstallComponents()
copy->  <BasicToolBarUI>.uninstallComponents();
protected  void uninstallDefaults()
copy->  .uninstallDefaults()
copy->  <BasicToolBarUI>.uninstallDefaults();
protected  void uninstallKeyboardActions()
copy->  .uninstallKeyboardActions()
copy->  <BasicToolBarUI>.uninstallKeyboardActions();
protected  void uninstallListeners()
copy->  .uninstallListeners()
copy->  <BasicToolBarUI>.uninstallListeners();
 void uninstallUI(JComponent c)
copy->  .uninstallUI( )
copy->  <BasicToolBarUI>.uninstallUI(<JComponent c>);
Overrides:
uninstallUI in class ComponentUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait