| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Class used for painting chekbox icons in different states
| Method Summary | |
protected void | drawCheck(Component c, Graphics g, int x, int y)Draws check used in checkboxes icons depending on check type. |
protected void | drawFlush3DBorder(Graphics g, int x, int y, int w, int h)This draws the "Flush 3D Border" which is used throughout the Metal L&F |
protected void | drawPressed3DBorder(Graphics g, int x, int y, int w, int h)This draws a variant "Flush 3D Border" It is used for things like pressed buttons. |
protected int | getControlSize()Returnes checkbox size. |
int | getIconHeight()Returns Icon height |
int | getIconWidth()Returns Icon width |
void | paintIcon(Component c, Graphics g, int x, int y)Paints icon for a check box depending on its state |
| Method Detail |
protected void drawCheck(Component c, Graphics g, int x, int y)
protected void drawFlush3DBorder(Graphics g, int x, int y, int w, int h)
protected void drawPressed3DBorder(Graphics g, int x, int y, int w, int h)
protected int getControlSize()
public int getIconHeight()
public int getIconWidth()
public void paintIcon(Component c, Graphics g, int x, int y)
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||