|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.washington.biostr.sig.brainj3d.icons.CompositeIcon
public class CompositeIcon
A composite icon represents a set of multiple icons that can be painted together on a component.
| Constructor Summary | |
|---|---|
CompositeIcon()
|
|
| Method Summary | |
|---|---|
void |
addIcon(Icon icon,
int x,
int y)
Add an icon to this composite. |
void |
addIcon(Icon icon,
int x,
int y,
int index)
Add a composite icon at the specified index, later indices are painted on top of earlier indices. |
int |
getIconHeight()
|
int |
getIconWidth()
|
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
|
void |
redoSize()
|
Point |
removeIcon(Icon icon)
Remove an icon from this composite, but do not change the size or refresh any components. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeIcon()
| Method Detail |
|---|
public void paintIcon(Component c,
Graphics g,
int x,
int y)
paintIcon in interface Iconpublic int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface Icon
public void addIcon(Icon icon,
int x,
int y)
icon - x - y -
public void addIcon(Icon icon,
int x,
int y,
int index)
icon - x - y - index - public Point removeIcon(Icon icon)
icon - public void redoSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||