Package com.l2fprod.gui.plaf.skin
Class SkinRadioButtonUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ButtonUI
-
- javax.swing.plaf.basic.BasicButtonUI
-
- javax.swing.plaf.basic.BasicToggleButtonUI
-
- javax.swing.plaf.basic.BasicRadioButtonUI
-
- 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
Fields Modifier and Type Field Description protected int
dashedRectGapHeight
Description of the Fieldprotected int
dashedRectGapWidth
Description of the Fieldprotected java.awt.Color
focusColor
Description of the Fieldprotected Skin
skin
Description of the Field
-
Constructor Summary
Constructors Constructor Description SkinRadioButtonUI()
-
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 SkinRadioButtonUI objectvoid
installDefaults(javax.swing.AbstractButton b)
Description of the Methodvoid
paint(java.awt.Graphics g, javax.swing.JComponent c)
paint the radio buttonprotected 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
-
-
-
-
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
-
-
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 classjavax.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 classjavax.swing.plaf.basic.BasicRadioButtonUI
- Parameters:
g
- Description of Parameterc
- 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 classjavax.swing.plaf.basic.BasicRadioButtonUI
- Parameters:
g
- Description of ParametertextRect
- Description of Parameterd
- Description of Parameter
-
-