public class TristateCheckBoxIcon extends Object implements Icon, SynthConstants
DEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED
Constructor and Description |
---|
TristateCheckBoxIcon(UIDefaults.LazyValue originalIcon) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawSquare(Component c,
Graphics g,
int x,
int y) |
int |
getIconHeight() |
int |
getIconWidth() |
protected boolean |
isSynthIconClassName(String name)
Check if the class name is a SynthIcon class name.
|
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
public TristateCheckBoxIcon(UIDefaults.LazyValue originalIcon)
protected boolean isSynthIconClassName(String name)
name
- the class name to checkpublic int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon