Package com.jtattoo.plaf
Class AbstractToolBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ToolBarUI
javax.swing.plaf.basic.BasicToolBarUI
com.jtattoo.plaf.AbstractToolBarUI
- All Implemented Interfaces:
SwingConstants
- Direct Known Subclasses:
AcrylToolBarUI
,AeroToolBarUI
,AluminiumToolBarUI
,BernsteinToolBarUI
,FastToolBarUI
,GraphiteToolBarUI
,HiFiToolBarUI
,LunaToolBarUI
,McWinToolBarUI
,MintToolBarUI
,SmartToolBarUI
,TextureToolBarUI
Abstract AbstractToolBarUI class.
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
protected class
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicToolBarUI
BasicToolBarUI.DockingListener, BasicToolBarUI.DragWindow, BasicToolBarUI.FrameListener, BasicToolBarUI.PropertyListener, BasicToolBarUI.ToolBarContListener, BasicToolBarUI.ToolBarFocusListener
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicToolBarUI
constraintBeforeFloating, dockingBorderColor, dockingColor, dockingListener, downKey, dragWindow, floatingBorderColor, floatingColor, focusedCompIndex, leftKey, propertyListener, rightKey, toolBar, toolBarContListener, toolBarFocusListener, upKey
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
changeBorders.protected void
changeButtonBorder.abstract Border
getNonRolloverBorder.abstract Border
getRolloverBorder.protected void
void
abstract boolean
isButtonOpaque.protected boolean
isRolloverEnabled.protected boolean
isToolbarDecorated.protected boolean
isToolBarUnderMenubar.protected void
restoreBorders.protected void
restoreButtonBorder.protected void
protected void
protected void
protected void
void
protected void
updateToolbarBorder.Methods inherited from class javax.swing.plaf.basic.BasicToolBarUI
canDock, createDockingListener, createDragWindow, createFloatingFrame, createFloatingWindow, createFrameListener, createNonRolloverBorder, createPropertyListener, createRolloverBorder, createToolBarContListener, createToolBarFocusListener, createUI, dragTo, floatAt, getDockingColor, getFloatingColor, getNonRolloverBorder, getRolloverBorder, installComponents, installDefaults, installKeyboardActions, installNonRolloverBorders, installNormalBorders, installRolloverBorders, isFloating, isRolloverBorders, navigateFocusedComp, paintDragWindow, setDockingColor, setFloating, setFloatingColor, setFloatingLocation, setOrientation, setRolloverBorders, uninstallComponents, uninstallDefaults, uninstallKeyboardActions
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
-
Constructor Details
-
AbstractToolBarUI
public AbstractToolBarUI()
-
-
Method Details
-
changeBorders
protected void changeBorders()changeBorders.
-
changeButtonBorder
changeButtonBorder.
- Parameters:
b
- aAbstractButton
object.
-
getNonRolloverBorder
getNonRolloverBorder.
- Returns:
- a
Border
object.
-
getRolloverBorder
getRolloverBorder.
- Returns:
- a
Border
object.
-
installListeners
protected void installListeners()- Overrides:
installListeners
in classBasicToolBarUI
-
installUI
- Overrides:
installUI
in classBasicToolBarUI
-
isButtonOpaque
public abstract boolean isButtonOpaque()isButtonOpaque.
- Returns:
- a boolean.
-
isRolloverEnabled
protected boolean isRolloverEnabled()isRolloverEnabled.
- Returns:
- a boolean.
-
isToolbarDecorated
protected boolean isToolbarDecorated()isToolbarDecorated.
- Returns:
- a boolean.
-
isToolBarUnderMenubar
protected boolean isToolBarUnderMenubar()isToolBarUnderMenubar.
- Returns:
- a boolean.
-
restoreBorders
protected void restoreBorders()restoreBorders.
-
restoreButtonBorder
restoreButtonBorder.
- Parameters:
b
- aAbstractButton
object.
-
setBorderToNonRollover
- Overrides:
setBorderToNonRollover
in classBasicToolBarUI
-
setBorderToNormal
- Overrides:
setBorderToNormal
in classBasicToolBarUI
-
setBorderToRollover
- Overrides:
setBorderToRollover
in classBasicToolBarUI
-
uninstallListeners
protected void uninstallListeners()- Overrides:
uninstallListeners
in classBasicToolBarUI
-
uninstallUI
- Overrides:
uninstallUI
in classBasicToolBarUI
-
updateToolbarBorder
protected void updateToolbarBorder()updateToolbarBorder.
-