Package com.jtattoo.plaf
Class BaseRadioButtonUI
- Direct Known Subclasses:
AluminiumRadioButtonUI
,BaseCheckBoxUI
,BernsteinRadioButtonUI
,GraphiteRadioButtonUI
,HiFiRadioButtonUI
,McWinRadioButtonUI
,TextureRadioButtonUI
BaseRadioButtonUI class.
Author Michael Hagen-
Field Summary
Modifier and TypeFieldDescriptionprotected static final Rectangle
Constant iconRectprotected static Dimension
Constant sizeprotected static final Rectangle
Constant textRectprotected static final Rectangle
Constant viewRectFields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
icon
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
void
void
paint
(Graphics g, JComponent c) protected void
paintBackground.protected void
paintFocus
(Graphics g, Rectangle t, Dimension d) protected void
paintIcon
(Graphics g, JComponent c, Rectangle iconRect) protected void
paintText
(Graphics g, JComponent c, String text, Rectangle textRect) paintText.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, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods 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:
installDefaults
in classBasicRadioButtonUI
-
paint
- Overrides:
paint
in classBasicRadioButtonUI
-
paintBackground
paintBackground.
- Parameters:
g
- aGraphics
object.c
- aJComponent
object.
-
paintFocus
- Overrides:
paintFocus
in classBasicRadioButtonUI
-
paintIcon
- Overrides:
paintIcon
in classBasicButtonUI
-
paintText
paintText.
- Parameters:
g
- aGraphics
object.c
- aJComponent
object.text
- aString
object.textRect
- aRectangle
object.
-