ui.renderer
Class SpectraIcon
java.lang.Object
ui.renderer.SpectraIcon
- All Implemented Interfaces:
- Icon
public class SpectraIcon
- extends Object
- implements Icon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpectraIcon
public SpectraIcon(Star aStar)
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Draw the icon at the specified location.
Icon implementations may use the Component argument to get properties useful for painting, e.g.
the foreground or background color
- Specified by:
paintIcon
in interface Icon