|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.beans.IlvFeatureSelectorPanel.CheckBoxIcon
public static class IlvFeatureSelectorPanel.CheckBoxIcon
Utility class that displays an Icon as either checked, enabled or normal.
| Method Summary | |
|---|---|
protected int |
getControlSize()
The default size of icon is 13. |
int |
getIconHeight()
Returns the icon's height. |
int |
getIconWidth()
Returns the icon's width. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setChecked(boolean checked)
checked - if true, this icon will draw a check mark.public void setEnabled(boolean enabled)
enabled - if true, this icon will be black, else, it will be grayed out.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()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||