Package editor
Class GosuLabRadioButtonUI
-
- Direct Known Subclasses:
GosuLabCheckBoxUI
public class GosuLabRadioButtonUI extends BasicRadioButtonUI
-
-
Field Summary
Fields Modifier and Type Field Description protected intdashedRectGapHeightprotected intdashedRectGapWidthprotected intdashedRectGapXprotected intdashedRectGapYprotected ColorfocusColor-
Fields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
icon
-
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
-
Constructor Summary
Constructors Constructor Description GosuLabRadioButtonUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentUIcreateUI(JComponent c)protected ColorgetFocusColor()DimensiongetPreferredSize(JComponent c)voidinstallDefaults(AbstractButton b)protected voidpaintFocus(Graphics g, Rectangle textRect, Dimension d)protected voidpaintText(Graphics g, AbstractButton b, Rectangle textRect, String text)Overridden method to render the text without the mnemonicprotected voiduninstallDefaults(AbstractButton b)-
Methods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
getDefaultIcon, getPropertyPrefix, installListeners, paint, 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, setTextShiftOffset, uninstallKeyboardActions, uninstallUI
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
-
-
-
Field Detail
-
dashedRectGapX
protected int dashedRectGapX
-
dashedRectGapY
protected int dashedRectGapY
-
dashedRectGapWidth
protected int dashedRectGapWidth
-
dashedRectGapHeight
protected int dashedRectGapHeight
-
focusColor
protected Color focusColor
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent c)
-
installDefaults
public void installDefaults(AbstractButton b)
- Overrides:
installDefaultsin classBasicRadioButtonUI
-
uninstallDefaults
protected void uninstallDefaults(AbstractButton b)
- Overrides:
uninstallDefaultsin classBasicRadioButtonUI
-
getFocusColor
protected Color getFocusColor()
-
paintText
protected void paintText(Graphics g, AbstractButton b, Rectangle textRect, String text)
Overridden method to render the text without the mnemonic- Overrides:
paintTextin classBasicButtonUI
-
paintFocus
protected void paintFocus(Graphics g, Rectangle textRect, Dimension d)
- Overrides:
paintFocusin classBasicRadioButtonUI
-
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- Overrides:
getPreferredSizein classBasicRadioButtonUI
-
-