All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.swing.basic.BasicToolBarUI

java.lang.Object
   |
   +----com.sun.java.swing.plaf.ComponentUI
           |
           +----com.sun.java.swing.plaf.ToolBarUI
                   |
                   +----com.sun.java.swing.basic.BasicToolBarUI

public class BasicToolBarUI
extends ToolBarUI
implements Serializable
A Windows L&F implementation of ToolBarUI. This implementation is a "combined" view/controller.


Variable Index

 o darkGray
 o dockingBorderColor
 o dockingColor
 o floatingBorderColor
 o floatingColor
 o gray
 o HORIZONTAL
 o lightGray
 o VERTICAL

Constructor Index

 o BasicToolBarUI()

Method Index

 o canDock(Component, Point)
 o createDockingListener()
 o createUI(JComponent)
 o getDefaultMargin(JToolBar)
 o getDockingColor()
Gets the color displayed when over a docking area
 o getFloatingColor()
Gets the color displayed when over a floating area
 o getMaximumSize(JComponent)
 o getMinimumSize(JComponent)
 o getPreferredSize(JComponent)
 o installUI(JComponent)
 o isFloatable()
 o isFloating()
 o paint(Graphics, JComponent)
 o setDockingColor(Color)
Sets the color displayed when over a docking area
 o setFloatable(boolean)
 o setFloating(boolean, Point)
 o setFloatingColor(Color)
Sets the color displayed when over a floating area
 o setFloatingLocation(int, int)
 o setOrientation(int)
 o uninstallUI(JComponent)

Variables

 o darkGray
 public static final Color darkGray
 o gray
 public static final Color gray
 o lightGray
 public static final Color lightGray
 o dockingColor
 protected Color dockingColor
 o floatingColor
 protected Color floatingColor
 o dockingBorderColor
 protected Color dockingBorderColor
 o floatingBorderColor
 protected Color floatingBorderColor
 o HORIZONTAL
 public static final int HORIZONTAL
 o VERTICAL
 public static final int VERTICAL

Constructors

 o BasicToolBarUI
 public BasicToolBarUI()

Methods

 o createUI
 public static ComponentUI createUI(JComponent x)
 o installUI
 public void installUI(JComponent c)
Overrides:
installUI in class ComponentUI
 o uninstallUI
 public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class ComponentUI
 o paint
 public void paint(Graphics g,
                   JComponent c)
Overrides:
paint in class ComponentUI
 o getMinimumSize
 public Dimension getMinimumSize(JComponent c)
Overrides:
getMinimumSize in class ComponentUI
 o getPreferredSize
 public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class ComponentUI
 o getMaximumSize
 public Dimension getMaximumSize(JComponent c)
Overrides:
getMaximumSize in class ComponentUI
 o getDefaultMargin
 public Insets getDefaultMargin(JToolBar t)
Overrides:
getDefaultMargin in class ToolBarUI
 o setFloatingLocation
 public void setFloatingLocation(int x,
                                 int y)
 o isFloating
 public boolean isFloating()
 o setFloating
 public void setFloating(boolean b,
                         Point p)
 o setOrientation
 public void setOrientation(int orientation)
 o getDockingColor
 public Color getDockingColor()
Gets the color displayed when over a docking area

 o setDockingColor
 public void setDockingColor(Color c)
Sets the color displayed when over a docking area

 o getFloatingColor
 public Color getFloatingColor()
Gets the color displayed when over a floating area

 o setFloatingColor
 public void setFloatingColor(Color c)
Sets the color displayed when over a floating area

 o isFloatable
 public boolean isFloatable()
 o setFloatable
 public void setFloatable(boolean b)
 o canDock
 public boolean canDock(Component c,
                        Point p)
 o createDockingListener
 protected BasicToolBarUI. DockingListener createDockingListener()

All Packages  Class Hierarchy  This Package  Previous  Next  Index