public abstract class AbstractNodeIcon extends Object implements Icon
| Modifier and Type | Field and Description |
|---|---|
static int |
HEIGHT |
protected BufferedImage |
image |
static int |
WIDTH |
| Constructor and Description |
|---|
AbstractNodeIcon() |
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
void |
redrawImage() |
abstract void |
redrawImage(Graphics2D g) |
public static final int WIDTH
public static final int HEIGHT
protected BufferedImage image
public int getIconHeight()
getIconHeight in interface Iconpublic int getIconWidth()
getIconWidth in interface Iconpublic void redrawImage()
public abstract void redrawImage(Graphics2D g)
Copyright © 2012. All Rights Reserved.