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
public class SkinButtonUI extends javax.swing.plaf.basic.BasicButtonUI
- Version:
- $Revision: 1.3 $, $Date: 2006/07/22 09:52:08 $
- Author:
- $Author: l2fprod $
-
-
Field Summary
Fields Modifier and Type Field Description protected int
dashedRectGapHeight
Description of the Fieldprotected int
dashedRectGapWidth
Description of the Fieldprotected int
dashedRectGapX
Description of the Fieldprotected int
dashedRectGapY
Description of the Fieldprotected java.awt.Color
focusColor
Description of the Fieldprotected Skin
skin
Description of the Field
-
Constructor Summary
Constructors Constructor Description SkinButtonUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent c)
Description of the Methodprotected java.awt.Color
getFocusColor()
Gets the FocusColor attribute of the SkinButtonUI objectprotected void
installDefaults(javax.swing.AbstractButton b)
Description of the Methodvoid
paint(java.awt.Graphics g, javax.swing.JComponent c)
Description of the Methodprotected void
paintButtonPressed(java.awt.Graphics g, javax.swing.AbstractButton b)
Description of the Methodprotected void
paintFocus(java.awt.Graphics g, javax.swing.AbstractButton b, java.awt.Rectangle viewRect, java.awt.Rectangle textRect, java.awt.Rectangle iconRect)
Description of the Methodprotected void
uninstallDefaults(javax.swing.AbstractButton b)
Description of the Method-
Methods 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
-
-
-
-
Field Detail
-
dashedRectGapX
protected int dashedRectGapX
Description of the Field
-
dashedRectGapY
protected int dashedRectGapY
Description of the Field
-
dashedRectGapWidth
protected int dashedRectGapWidth
Description of the Field
-
dashedRectGapHeight
protected int dashedRectGapHeight
Description of the Field
-
focusColor
protected java.awt.Color focusColor
Description of the Field
-
skin
protected Skin skin
Description of the Field
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Description of the Method- Parameters:
c
- Description of Parameter- Returns:
- Description of the Returned Value
-
paint
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
Description of the Method- Overrides:
paint
in classjavax.swing.plaf.basic.BasicButtonUI
- Parameters:
g
- Description of Parameterc
- Description of Parameter
-
getFocusColor
protected java.awt.Color getFocusColor()
Gets the FocusColor attribute of the SkinButtonUI object- Returns:
- The FocusColor value
-
installDefaults
protected void installDefaults(javax.swing.AbstractButton b)
Description of the Method- Overrides:
installDefaults
in classjavax.swing.plaf.basic.BasicButtonUI
- Parameters:
b
- Description of Parameter
-
uninstallDefaults
protected void uninstallDefaults(javax.swing.AbstractButton b)
Description of the Method- Overrides:
uninstallDefaults
in classjavax.swing.plaf.basic.BasicButtonUI
- Parameters:
b
- Description of Parameter
-
paintFocus
protected void paintFocus(java.awt.Graphics g, javax.swing.AbstractButton b, java.awt.Rectangle viewRect, java.awt.Rectangle textRect, java.awt.Rectangle iconRect)
Description of the Method- Overrides:
paintFocus
in classjavax.swing.plaf.basic.BasicButtonUI
- Parameters:
g
- Description of Parameterb
- Description of ParameterviewRect
- Description of ParametertextRect
- Description of ParametericonRect
- Description of Parameter
-
paintButtonPressed
protected void paintButtonPressed(java.awt.Graphics g, javax.swing.AbstractButton b)
Description of the Method- Overrides:
paintButtonPressed
in classjavax.swing.plaf.basic.BasicButtonUI
- Parameters:
g
- Description of Parameterb
- Description of Parameter
-
-