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 intDescription of the Fieldprotected intDescription of the Fieldprotected intDescription of the Fieldprotected intDescription of the Fieldprotected ColorDescription of the Fieldprotected SkinDescription of the FieldFields inherited from class BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIDescription of the Methodprotected ColorGets the FocusColor attribute of the SkinButtonUI objectprotected voidDescription of the Methodvoidpaint(Graphics g, JComponent c) Description of the Methodprotected voidDescription of the Methodprotected voidpaintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) Description of the Methodprotected voidDescription of the MethodMethods inherited from class BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUIMethods inherited from class 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:
paintin 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:
installDefaultsin classBasicButtonUI- Parameters:
b- Description of Parameter
-
uninstallDefaults
Description of the Method- Overrides:
uninstallDefaultsin 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:
paintFocusin classBasicButtonUI- Parameters:
g- Description of Parameterb- Description of ParameterviewRect- Description of ParametertextRect- Description of ParametericonRect- Description of Parameter
-
paintButtonPressed
Description of the Method- Overrides:
paintButtonPressedin classBasicButtonUI- Parameters:
g- Description of Parameterb- Description of Parameter
-