Package net.sf.freecol.client.gui.plaf
Class FreeColCheckBoxUI.CheckBoxIcon
- java.lang.Object
-
- net.sf.freecol.client.gui.plaf.FreeColCheckBoxUI.CheckBoxIcon
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.Icon
,javax.swing.plaf.UIResource
- Enclosing class:
- FreeColCheckBoxUI
private static class FreeColCheckBoxUI.CheckBoxIcon extends java.lang.Object implements javax.swing.Icon, javax.swing.plaf.UIResource, java.io.Serializable
-
-
Constructor Summary
Constructors Modifier Constructor Description private
CheckBoxIcon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIconHeight()
int
getIconWidth()
protected int
getWidgetSize()
void
paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
-
-
-
Method Detail
-
getWidgetSize
protected int getWidgetSize()
-
paintIcon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
- Specified by:
paintIcon
in interfacejavax.swing.Icon
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interfacejavax.swing.Icon
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interfacejavax.swing.Icon
-
-