com.l2fprod.gui.plaf.skin
Class SkinRadioButtonUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ButtonUI
          extended by javax.swing.plaf.basic.BasicButtonUI
              extended by javax.swing.plaf.basic.BasicToggleButtonUI
                  extended by javax.swing.plaf.basic.BasicRadioButtonUI
                      extended by com.l2fprod.gui.plaf.skin.SkinRadioButtonUI
Direct Known Subclasses:
SkinCheckBoxUI

public class SkinRadioButtonUI
extends javax.swing.plaf.basic.BasicRadioButtonUI

Description of the Class

Author:
fred

Field Summary
protected  int dashedRectGapHeight
          Description of the Field
protected  int dashedRectGapWidth
          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.BasicRadioButtonUI
icon
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Constructor Summary
SkinRadioButtonUI()
           
 
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 SkinRadioButtonUI object
 void installDefaults(javax.swing.AbstractButton b)
          Description of the Method
 void paint(java.awt.Graphics g, javax.swing.JComponent c)
          paint the radio button
protected  void paintFocus(java.awt.Graphics g, java.awt.Rectangle textRect, java.awt.Dimension d)
          Description of the Method
 
Methods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
getDefaultIcon, getPreferredSize, getPropertyPrefix, uninstallDefaults
 
Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
getTextShiftOffset, paintIcon
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, 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

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

SkinRadioButtonUI

public SkinRadioButtonUI()
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

installDefaults

public void installDefaults(javax.swing.AbstractButton b)
Description of the Method

Overrides:
installDefaults in class javax.swing.plaf.basic.BasicRadioButtonUI
Parameters:
b - Description of Parameter

paint

public void paint(java.awt.Graphics g,
                  javax.swing.JComponent c)
paint the radio button

Overrides:
paint in class javax.swing.plaf.basic.BasicRadioButtonUI
Parameters:
g - Description of Parameter
c - Description of Parameter

getFocusColor

protected java.awt.Color getFocusColor()
Gets the FocusColor attribute of the SkinRadioButtonUI object

Returns:
The FocusColor value

paintFocus

protected void paintFocus(java.awt.Graphics g,
                          java.awt.Rectangle textRect,
                          java.awt.Dimension d)
Description of the Method

Overrides:
paintFocus in class javax.swing.plaf.basic.BasicRadioButtonUI
Parameters:
g - Description of Parameter
textRect - Description of Parameter
d - Description of Parameter