javax.swing.Icon
, javax.swing.plaf.synth.SynthConstants
public class TristateCheckBoxIcon
extends java.lang.Object
implements javax.swing.Icon, javax.swing.plaf.synth.SynthConstants
Constructor | Description |
---|---|
TristateCheckBoxIcon(javax.swing.UIDefaults.LazyValue originalIcon) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
drawSquare(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
|
int |
getIconHeight() |
|
int |
getIconWidth() |
|
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
public TristateCheckBoxIcon(javax.swing.UIDefaults.LazyValue originalIcon)
public 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)