Package com.portal.pfc.ui.plaf
Class PortalToolBarToggleButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
javax.swing.plaf.metal.MetalButtonUI
com.jgoodies.looks.plastic.PlasticButtonUI
oracle.bali.ewt.olaf2.OracleButtonUI
com.portal.pfc.ui.plaf.PortalToolBarToggleButtonUI
public class PortalToolBarToggleButtonUI
extends oracle.bali.ewt.olaf2.OracleButtonUI
Portal look and feel implementation for a ToolBarToggleButton.
PortalToolBarToggleButtonUI is extended from PortalButtonUI and implements a
specific UI delegate for a button placed on an toolbar. The main difference
is that the border implemented is a ToolBarButtonBorder. ToolBarButtonBorder
will only display a border when a rollover occurs. Also, when the toggle
button is selected, the button background will contain a lighter color to
highlight the selection to the user.
Only methods which require specific behavior are implemented, all other methods are contained in the base class.
- Author:
- Les Thomas
-
Field Summary
Fields inherited from class javax.swing.plaf.metal.MetalButtonUI
disabledTextColor, focusColor, selectColor
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Methods inherited from class oracle.bali.ewt.olaf2.OracleButtonUI
createButtonListener, createUI
Methods inherited from class com.jgoodies.looks.plastic.PlasticButtonUI
is3D, isToolBarButton, paintFocus, update
Methods inherited from class javax.swing.plaf.metal.MetalButtonUI
getDisabledTextColor, getFocusColor, getSelectColor, paintButtonPressed, paintText
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paint, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
-
Constructor Details
-
PortalToolBarToggleButtonUI
public PortalToolBarToggleButtonUI()
-
-
Method Details
-
installDefaults
- Overrides:
installDefaults
in classcom.jgoodies.looks.plastic.PlasticButtonUI
-
uninstallDefaults
- Overrides:
uninstallDefaults
in classMetalButtonUI
-