com.jidesoft.swing
Class TristateCheckBoxIcon
java.lang.Object
com.jidesoft.swing.TristateCheckBoxIcon
- All Implemented Interfaces:
- Icon, SynthConstants
public class TristateCheckBoxIcon
- extends Object
- implements Icon, SynthConstants
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TristateCheckBoxIcon
public TristateCheckBoxIcon(UIDefaults.LazyValue originalIcon)
isSynthIconClassName
protected boolean isSynthIconClassName(String name)
- Check if the class name is a SynthIcon class name.
It's an interface reserved in case Sun changes the name or package of the class SynthIcon.
- Parameters:
name
- the class name to check
- Returns:
- true if it's a SynthIcon class name. Otherwise false.
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon
drawSquare
protected void drawSquare(Component c,
Graphics g,
int x,
int y)