Class EnvEditor.EnvObjectIcon
java.lang.Object
|
+--EnvEditor.EnvObjectIcon
- All Implemented Interfaces:
- javax.swing.Icon
- Enclosing class:
- EnvEditor
- protected class EnvEditor.EnvObjectIcon
- extends java.lang.Object
- implements javax.swing.Icon
Nested class used to draw the icons used for
Locatable entries in the environment object combo box.
We construct a Locatable object and then hand it off to
its display object to draw.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvEditor.EnvObjectIcon
public EnvEditor.EnvObjectIcon(java.lang.Class cl,
int w,
int h)
EnvEditor.EnvObjectIcon
public EnvEditor.EnvObjectIcon(java.lang.Class cl,
java.awt.Color c,
int w,
int h)
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface javax.swing.Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface javax.swing.Icon
paintIcon
public void paintIcon(java.awt.Component comp,
java.awt.Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface javax.swing.Icon
Copyright© 2003 Alyce Brady