Package mdlaf.components.radiobutton
Class MaterialRadioButtonUI.MaterialRadioButtonIcon
- java.lang.Object
-
- mdlaf.components.radiobutton.MaterialRadioButtonUI.MaterialRadioButtonIcon
-
- All Implemented Interfaces:
javax.swing.Icon,javax.swing.plaf.UIResource
- Enclosing class:
- MaterialRadioButtonUI
protected class MaterialRadioButtonUI.MaterialRadioButtonIcon extends java.lang.Object implements javax.swing.Icon, javax.swing.plaf.UIResource
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.IcondisabledIconprotected javax.swing.IcondisabledSelectedIconprotected javax.swing.IconselectedIconprotected javax.swing.IconunselectedIcon
-
Constructor Summary
Constructors Constructor Description MaterialRadioButtonIcon(java.lang.String componentPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIconHeight()intgetIconWidth()voidpaintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
-
-
-
Method Detail
-
paintIcon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)- Specified by:
paintIconin interfacejavax.swing.Icon
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidthin interfacejavax.swing.Icon
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeightin interfacejavax.swing.Icon
-
-