Package com.jtattoo.plaf.base
Class BaseRadioButtonUI
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.jtattoo.plaf.base.BaseRadioButtonUI
- Direct Known Subclasses:
AluminiumRadioButtonUI,BaseCheckBoxUI,BernsteinRadioButtonUI,GraphiteRadioButtonUI,HiFiRadioButtonUI,McWinRadioButtonUI,TextureRadioButtonUI
BaseRadioButtonUI class.
Author Michael Hagen-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final RectangleConstant iconRectprotected static DimensionConstant sizeprotected static final RectangleConstant textRectprotected static final RectangleConstant viewRectFields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
iconFields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIvoidvoidpaint(Graphics g, JComponent c) protected voidpaintBackground.protected voidpaintFocus(Graphics g, Rectangle t, Dimension d) protected voidpaintIcon(Graphics g, JComponent c, Rectangle iconRect) protected voidpaintText(Graphics g, JComponent c, String text, Rectangle textRect) paintText.Methods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
getDefaultIcon, getPreferredSize, getPropertyPrefix, uninstallDefaultsMethods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
getTextShiftOffset, paintIconMethods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUIMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Field Details
-
size
Constant size -
viewRect
Constant viewRect -
iconRect
Constant iconRect -
textRect
Constant textRect
-
-
Constructor Details
-
BaseRadioButtonUI
public BaseRadioButtonUI()
-
-
Method Details
-
createUI
-
installDefaults
- Overrides:
installDefaultsin classBasicRadioButtonUI
-
paint
- Overrides:
paintin classBasicRadioButtonUI
-
paintBackground
paintBackground.
- Parameters:
g- aGraphicsobject.c- aJComponentobject.
-
paintFocus
- Overrides:
paintFocusin classBasicRadioButtonUI
-
paintIcon
- Overrides:
paintIconin classBasicButtonUI
-
paintText
paintText.
- Parameters:
g- aGraphicsobject.c- aJComponentobject.text- aStringobject.textRect- aRectangleobject.
-