public static class IlvFeatureSelectorPanel.CheckBoxIcon extends Object implements Icon
| Modifier and Type | Method and Description |
|---|---|
protected int |
getControlSize()
The default size of the icon is 13.
|
int |
getIconHeight()
Returns the height of the icon.
|
int |
getIconWidth()
Returns the width of the icon.
|
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
Paints a rectangle and a check mark according to icon state.
|
void |
setChecked(boolean checked)
Changes the check box selected state.
|
void |
setEnabled(boolean enabled)
Changes the check box enabled state.
|
public void setChecked(boolean checked)
checked - If true, this icon will draw a check markpublic void setEnabled(boolean enabled)
enabled - If true, this icon will be available (black) , else it will be unavailable (gray).protected int getControlSize()
public void paintIcon(Component c, Graphics g, int x, int y)
paintIcon in interface IconIcon.paintIcon(java.awt.Component, java.awt.Graphics,
int, int)public int getIconWidth()
getIconWidth in interface IcongetControlSize()public int getIconHeight()
getIconHeight in interface IcongetControlSize()© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.