public class TristateCheckBoxIcon
extends java.lang.Object
implements javax.swing.Icon, javax.swing.plaf.synth.SynthConstants
Constructor and Description |
---|
TristateCheckBoxIcon(javax.swing.UIDefaults.LazyValue originalIcon) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawSquare(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
int |
getIconHeight() |
int |
getIconWidth() |
protected boolean |
isSynthIconClassName(java.lang.String name)
Check if the class name is a SynthIcon class name.
|
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
public TristateCheckBoxIcon(javax.swing.UIDefaults.LazyValue originalIcon)
protected boolean isSynthIconClassName(java.lang.String name)
name
- the class name to checkpublic void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
protected void drawSquare(java.awt.Component c, java.awt.Graphics g, int x, int y)