com.l2fprod.gui.plaf.skin
Class SkinButtonUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ButtonUI
          extended by javax.swing.plaf.basic.BasicButtonUI
              extended by 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
protected  int dashedRectGapHeight
          Description of the Field
protected  int dashedRectGapWidth
          Description of the Field
protected  int dashedRectGapX
          Description of the Field
protected  int dashedRectGapY
          Description of the Field
protected  java.awt.Color focusColor
          Description of the Field
protected  Skin skin
          Description of the Field
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Constructor Summary
SkinButtonUI()
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Description of the Method
protected  java.awt.Color getFocusColor()
          Gets the FocusColor attribute of the SkinButtonUI object
protected  void installDefaults(javax.swing.AbstractButton b)
          Description of the Method
 void paint(java.awt.Graphics g, javax.swing.JComponent c)
          Description of the Method
protected  void paintButtonPressed(java.awt.Graphics g, javax.swing.AbstractButton b)
          Description of the Method
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
protected  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
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

Constructor Detail

SkinButtonUI

public SkinButtonUI()
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 class javax.swing.plaf.basic.BasicButtonUI
Parameters:
g - Description of Parameter
c - 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 class javax.swing.plaf.basic.BasicButtonUI
Parameters:
b - Description of Parameter

uninstallDefaults

protected void uninstallDefaults(javax.swing.AbstractButton b)
Description of the Method

Overrides:
uninstallDefaults in class javax.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 class javax.swing.plaf.basic.BasicButtonUI
Parameters:
g - Description of Parameter
b - Description of Parameter
viewRect - Description of Parameter
textRect - Description of Parameter
iconRect - Description of Parameter

paintButtonPressed

protected void paintButtonPressed(java.awt.Graphics g,
                                  javax.swing.AbstractButton b)
Description of the Method

Overrides:
paintButtonPressed in class javax.swing.plaf.basic.BasicButtonUI
Parameters:
g - Description of Parameter
b - Description of Parameter