public abstract class MultiPosIcon extends Object implements Icon
| Constructor and Description |
|---|
MultiPosIcon(int npos)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
protected abstract void |
paintPositions(Graphics g,
Point[] positions)
Generates graphics for a given set of positions in a way that
represents the behaviour this icon wants to illustrate.
|
public MultiPosIcon(int npos)
npos - number of pointspublic int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface Iconprotected abstract void paintPositions(Graphics g, Point[] positions)
g - graphics contextpositions - graphic positions of pointsCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.