|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsheets.ui.BlankIcon
public final class BlankIcon
A blank icon used to indent menu items.
| Constructor Summary | |
|---|---|
BlankIcon(int size)
Creates a new blank icon with the given size. |
|
BlankIcon(int width,
int height)
Creates a new blank icon with the given width and height. |
|
| Method Summary | |
|---|---|
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)
Does nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlankIcon(int size)
size - the size of the icon (used as width and height)
public BlankIcon(int width,
int height)
width - the width of the iconheight - the height of the icon| Method Detail |
|---|
public int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface Icon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
paintIcon in interface Icon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||