|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object![]()
![]()
![]()
javax.swing.plaf.ComponentUI
![]()
![]()
![]()
javax.swing.plaf.ToolBarUI
![]()
![]()
![]()
javax.swing.plaf.basic.BasicToolBarUI


public class BasicToolBarUI


A Basic L&F implementation of ToolBarUI. This implementation is a "combined" view/controller.
| Nested Class Summary | |
|---|---|
class |
BasicToolBarUI.DockingListener
This class should be treated as a "protected" inner class. |
protected class |
BasicToolBarUI.DragWindow
|
protected class |
BasicToolBarUI.FrameListener
|
protected class |
BasicToolBarUI.PropertyListener
|
protected class |
BasicToolBarUI.ToolBarContListener
|
protected class |
BasicToolBarUI.ToolBarFocusListener
|
| Field Summary | |
|---|---|
protected String |
constraintBeforeFloating
|
protected Color |
dockingBorderColor
|
protected Color |
dockingColor
|
protected MouseInputListener |
dockingListener
|
protected KeyStroke |
downKey
Deprecated. As of Java 2 platform v1.3. |
protected BasicToolBarUI.DragWindow |
dragWindow
|
protected Color |
floatingBorderColor
|
protected Color |
floatingColor
|
protected int |
focusedCompIndex
|
protected KeyStroke |
leftKey
Deprecated. As of Java 2 platform v1.3. |
protected PropertyChangeListener |
propertyListener
|
protected KeyStroke |
rightKey
Deprecated. As of Java 2 platform v1.3. |
protected JToolBar |
toolBar
|
protected ContainerListener |
toolBarContListener
|
protected FocusListener |
toolBarFocusListener
|
protected KeyStroke |
upKey
Deprecated. As of Java 2 platform v1.3. |
Fields inherited from interface javax.swing.SwingConstants ![]() |
|---|
BOTTOM |
| Constructor Summary | |
|---|---|
BasicToolBarUI
|
|
| Method Summary | |
|---|---|
boolean |
canDock
|
protected MouseInputListener |
createDockingListener
|
protected BasicToolBarUI.DragWindow |
createDragWindow
|
protected JFrame |
createFloatingFrame
No longer used, use BasicToolBarUI.createFloatingWindow(JToolBar) |
protected RootPaneContainer |
createFloatingWindow
Creates a window which contains the toolbar after it has been dragged out from its container |
protected WindowListener |
createFrameListener
|
protected Border |
createNonRolloverBorder
Creates the non rollover border for toolbar components. |
protected PropertyChangeListener |
createPropertyListener
|
protected Border |
createRolloverBorder
Creates a rollover border for toolbar components. |
protected ContainerListener |
createToolBarContListener
|
protected FocusListener |
createToolBarFocusListener
|
static ComponentUI |
createUI
|
protected void |
dragTo
|
protected void |
floatAt
|
Color |
getDockingColor
Gets the color displayed when over a docking area |
Color |
getFloatingColor
Gets the color displayed when over a floating area |
protected void |
installComponents
|
protected void |
installDefaults
|
protected void |
installKeyboardActions
|
protected void |
installListeners
|
protected void |
installNonRolloverBorders
Installs non-rollover borders on all the child components of the JComponent. |
protected void |
installNormalBorders
Installs normal borders on all the child components of the JComponent. |
protected void |
installRolloverBorders
Installs rollover borders on all the child components of the JComponent. |
void |
installUI
Configures the specified component appropriate for the look and feel. |
boolean |
isFloating
|
boolean |
isRolloverBorders
Returns a flag to determine whether rollover button borders are enabled. |
protected void |
navigateFocusedComp
|
protected void |
paintDragWindow
Paints the contents of the window used for dragging. |
protected void |
setBorderToNonRollover
Sets the border of the component to have a non-rollover border which was created by createNonRolloverBorder. |
protected void |
setBorderToNormal
Sets the border of the component to have a normal border. |
protected void |
setBorderToRollover
Sets the border of the component to have a rollover border which was created by createRolloverBorder. |
void |
setDockingColor
Sets the color displayed when over a docking area |
void |
setFloating
|
void |
setFloatingColor
Sets the color displayed when over a floating area |
void |
setFloatingLocation
|
void |
setOrientation
|
void |
setRolloverBorders
Sets the flag for enabling rollover borders on the toolbar and it will also install the apropriate border depending on the state of the flag. |
protected void |
uninstallComponents
|
protected void |
uninstallDefaults
|
protected void |
uninstallKeyboardActions
|
protected void |
uninstallListeners
|
void |
uninstallUI
Reverses configuration which was done on the specified component during installUI. |
Methods inherited from class javax.swing.plaf.ComponentUI ![]() |
|---|
contains |