Package com.l2fprod.gui.plaf.skin
Class SkinButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
com.l2fprod.gui.plaf.skin.SkinButtonUI
- Direct Known Subclasses:
SkinToggleButtonUI
- Version:
- $Revision: 1.3 $, $Date: 2006/07/22 09:52:08 $
- Author:
- $Author: l2fprod $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
Description of the Fieldprotected int
Description of the Fieldprotected int
Description of the Fieldprotected int
Description of the Fieldprotected Color
Description of the Fieldprotected Skin
Description of the FieldFields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
Description of the Methodprotected Color
Gets the FocusColor attribute of the SkinButtonUI objectprotected void
Description of the Methodvoid
paint
(Graphics g, JComponent c) Description of the Methodprotected void
Description of the Methodprotected void
paintFocus
(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) Description of the Methodprotected void
Description of the MethodMethods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Field Details
-
dashedRectGapX
protected int dashedRectGapXDescription of the Field -
dashedRectGapY
protected int dashedRectGapYDescription of the Field -
dashedRectGapWidth
protected int dashedRectGapWidthDescription of the Field -
dashedRectGapHeight
protected int dashedRectGapHeightDescription of the Field -
focusColor
Description of the Field -
skin
Description of the Field
-
-
Constructor Details
-
SkinButtonUI
public SkinButtonUI()
-
-
Method Details
-
createUI
Description of the Method- Parameters:
c
- Description of Parameter- Returns:
- Description of the Returned Value
-
paint
Description of the Method- Overrides:
paint
in classBasicButtonUI
- Parameters:
g
- Description of Parameterc
- Description of Parameter
-
getFocusColor
Gets the FocusColor attribute of the SkinButtonUI object- Returns:
- The FocusColor value
-
installDefaults
Description of the Method- Overrides:
installDefaults
in classBasicButtonUI
- Parameters:
b
- Description of Parameter
-
uninstallDefaults
Description of the Method- Overrides:
uninstallDefaults
in classBasicButtonUI
- Parameters:
b
- Description of Parameter
-
paintFocus
protected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) Description of the Method- Overrides:
paintFocus
in classBasicButtonUI
- Parameters:
g
- Description of Parameterb
- Description of ParameterviewRect
- Description of ParametertextRect
- Description of ParametericonRect
- Description of Parameter
-
paintButtonPressed
Description of the Method- Overrides:
paintButtonPressed
in classBasicButtonUI
- Parameters:
g
- Description of Parameterb
- Description of Parameter
-