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 intdashedRectGapHeightDescription of the Fieldprotected intdashedRectGapWidthDescription of the Fieldprotected intdashedRectGapXDescription of the Fieldprotected intdashedRectGapYDescription of the Fieldprotected java.awt.ColorfocusColorDescription of the Fieldprotected SkinskinDescription 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.ComponentUIcreateUI(javax.swing.JComponent c)Description of the Methodprotected java.awt.ColorgetFocusColor()Gets the FocusColor attribute of the SkinButtonUI objectprotected voidinstallDefaults(javax.swing.AbstractButton b)Description of the Methodvoidpaint(java.awt.Graphics g, javax.swing.JComponent c)Description of the Methodprotected voidpaintButtonPressed(java.awt.Graphics g, javax.swing.AbstractButton b)Description of the Methodprotected voidpaintFocus(java.awt.Graphics g, javax.swing.AbstractButton b, java.awt.Rectangle viewRect, java.awt.Rectangle textRect, java.awt.Rectangle iconRect)Description of the Methodprotected voiduninstallDefaults(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:
paintin 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:
installDefaultsin classjavax.swing.plaf.basic.BasicButtonUI- Parameters:
b- Description of Parameter
-
uninstallDefaults
protected void uninstallDefaults(javax.swing.AbstractButton b)
Description of the Method- Overrides:
uninstallDefaultsin 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:
paintFocusin 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:
paintButtonPressedin classjavax.swing.plaf.basic.BasicButtonUI- Parameters:
g- Description of Parameterb- Description of Parameter
-
-