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.BasicRadioButtonUIDescription of the Class- Author:
- fred
-
-
Field Summary
Fields Modifier and Type Field Description protected intdashedRectGapHeightDescription of the Fieldprotected intdashedRectGapWidthDescription of the Fieldprotected java.awt.ColorfocusColorDescription of the Fieldprotected SkinskinDescription 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.ComponentUIcreateUI(javax.swing.JComponent c)Description of the Methodprotected java.awt.ColorgetFocusColor()Gets the FocusColor attribute of the SkinRadioButtonUI objectvoidinstallDefaults(javax.swing.AbstractButton b)Description of the Methodvoidpaint(java.awt.Graphics g, javax.swing.JComponent c)paint the radio buttonprotected voidpaintFocus(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, installListeners, uninstallDefaults, uninstallListeners
-
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, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, 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:
installDefaultsin 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:
paintin 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:
paintFocusin classjavax.swing.plaf.basic.BasicRadioButtonUI- Parameters:
g- Description of ParametertextRect- Description of Parameterd- Description of Parameter
-
-