protected class GridEditor.GridObjectIcon
extends java.lang.Object
implements javax.swing.Icon
Constructor and Description |
---|
GridObjectIcon(java.lang.Class cl,
java.awt.Color c,
int w,
int h) |
GridObjectIcon(java.lang.Class cl,
int w,
int h) |
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(java.awt.Component comp,
java.awt.Graphics g,
int x,
int y) |
public GridObjectIcon(java.lang.Class cl, int w, int h)
public GridObjectIcon(java.lang.Class cl, java.awt.Color c, int w, int h)
public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
public void paintIcon(java.awt.Component comp, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon