| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public class | BasicToolBarUI.
This class should be treated as a "protected" inner class. |
| protected class | BasicToolBarUI.
The window which appears during dragging the |
| protected class | BasicToolBarUI.
The class listens for window events. |
| private class | |
| protected class | BasicToolBarUI.
The class listens for property changed events. |
| protected class | BasicToolBarUI.
The class listens for component events. |
| protected class | BasicToolBarUI.
The class listens for focus events. |
| Modifier and Type | Field and Description |
|---|---|
| private HashMap | |
| protected String | constraintBeforeFloating
The layout before floating. |
| protected Color | dockingBorderColor
The color of the docking border. |
| protected Color | dockingColor
The background color of the docking border. |
| protected MouseInputListener | dockingListener
The instance of a |
| private int | |
| private Container | |
| protected KeyStroke | downKey
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| protected BasicToolBarUI. | dragWindow
The instance of |
| private boolean | |
| protected Color | floatingBorderColor
The color of the not docking border. |
| protected Color | floatingColor
The background color of the not docking border. |
| private JFrame | |
| private RootPaneContainer | |
| private int | |
| private int | |
| private static String | |
| protected int | focusedCompIndex
The index of the focused component. |
| private BasicToolBarUI. | |
| private static String | |
| protected KeyStroke | leftKey
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| private static Border | |
| private static Border | |
| protected PropertyChangeListener | propertyListener
The instance of a |
| protected KeyStroke | rightKey
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| private static Border | |
| private boolean | |
| private Hashtable | |
| protected JToolBar | toolBar
The instance of |
| protected ContainerListener | toolBarContListener
The instance of a |
| protected FocusListener | toolBarFocusListener
The instance of a |
| protected KeyStroke | upKey
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| public boolean | |
| protected MouseInputListener | Returns: an instance ofMouseInputListenerReturns an instance of |
| protected BasicToolBarUI. | Returns: an instance ofDragWindowan instance of toolbar)JToolBarReturns an instance of |
| protected JFrame | Returns: an instance ofJFramean instance of toolbar)JToolBar
Deprecated
for removal since 17. It is recommended that
BasicToolBarUI#createFloatingWindow(JToolBar)
be used instead
No longer used, use BasicToolBarUI.createFloatingWindow(JToolBar) |
| protected RootPaneContainer | Returns: aRootPaneContainer object, containing the toolbaran instance of toolbar)JToolBarCreates a window which contains the toolbar after it has been dragged out from its container |
| protected WindowListener | Returns: a new instance ofWindowListenerConstructs a new instance of |
| protected Border | Returns: the non rollover border for toolbar componentsCreates the non rollover border for toolbar components. |
| private Border | |
| protected PropertyChangeListener | Returns: an instance ofPropertyChangeListenerReturns an instance of |
| protected Border | Returns: a rollover border for toolbar componentsCreates a rollover border for toolbar components. |
| protected ContainerListener | Returns: an instance ofContainerListenerReturns an instance of |
| protected FocusListener | Returns: an instance ofFocusListenerReturns an instance of |
| public static ComponentUI | Returns: a new instance ofBasicToolBarUIa component c)Hides javax. Constructs a new instance of |
| protected void | |
| protected void | |
| public Color | Returns: the color displayed when over a docking areaGets the color displayed when over a docking area |
| private String | |
| public Color | Returns: the color displayed when over a floating areaGets the color displayed when over a floating area |
| private BasicToolBarUI. | |
| pack-priv InputMap | |
| protected Border | Returns: the non-rollover borderthe button to calculate the non-rollover border for b)Returns a non-rollover border for the button. |
| protected Border | Returns: the rollover borderthe button to calculate the rollover border for b)Returns a rollover border for the button. |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | installNonRolloverBorders(JComponent
container which holds the child components (usually a JToolBar) c)Installs non-rollover borders on all the child components of the JComponent. |
| protected void | installNormalBorders(JComponent
container which holds the child components (usually a JToolBar) c)Installs normal borders on all the child components of the JComponent. |
| protected void | installRolloverBorders(JComponent
container which holds the child components (usually a JToolBar) c)Installs rollover borders on all the child components of the JComponent. |
| public void | installUI(JComponent c)
Overrides javax. Configures the specified component appropriately for the look and feel. |
| private boolean | |
| public boolean | |
| public boolean | Returns: true if rollover borders are enabled; false otherwiseReturns a flag to determine whether rollover button borders are enabled. |
| pack-priv static void | |
| private int | |
| protected void | |
| protected void | paintDragWindow(Graphics
Graphics to paint to. g)Paints the contents of the window used for dragging. |
| protected void | setBorderToNonRollover(Component
component which will have a non-rollover border installed c)Sets the border of the component to have a non-rollover border which
was created by the |
| protected void | setBorderToNormal(Component
component which will have a normal border re-installed c)Sets the border of the component to have a normal border. |
| protected void | setBorderToRollover(Component
component which will have a rollover border installed c)Sets the border of the component to have a rollover border which
was created by the |
| public void | |
| public void | setFloating(boolean
true if the JToolBar is floatingthe position p)Sets the floating property. |
| public void | |
| public void | |
| public void | |
| public void | setRolloverBorders(boolean
if true, rollover borders are installed.
Otherwise non-rollover borders are installed rollover)Sets the flag for enabling rollover borders on the toolbar and it will also install the appropriate border depending on the state of the flag. |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| public void | uninstallUI(JComponent c)
Overrides javax. Reverses configuration which was done on the specified component during
|