Modifier and Type | Field and Description |
---|---|
static HighlightIcon |
INSTANCE
Standard instance.
|
Constructor and Description |
---|
HighlightIcon(int size)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Decoration |
createDecoration(Point2D gp)
Creates a decoration consisting of this icon centered on a given
graphics position.
|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
public static final HighlightIcon INSTANCE
public HighlightIcon(int size)
size
- icon radiuspublic int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
public Decoration createDecoration(Point2D gp)
gp
- central graphics positionCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.