|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbecker.robots.icons.Icon
TrafficLightIcon
public class TrafficLightIcon
This class provides support for the Drivers' Ed project found here.
Field Summary |
---|
Fields inherited from class becker.robots.icons.Icon |
---|
transparent |
Constructor Summary | |
---|---|
TrafficLightIcon(java.lang.String imageFile)
The TrafficLightIcon constructor simply calls its superclass' (Icon) constructor before saving the imageFile parameter in its instance field by the same name. |
Method Summary | |
---|---|
void |
paintIcon(java.awt.Graphics g)
TrafficLightIcon overrides Icon's paintIcon method to enable the application of a gif file to represent the icon of this object. |
Methods inherited from class becker.robots.icons.Icon |
---|
applyTransforms, getColor, getImage, getLabel, getRotation, getSize, getTransparency, hasChanged, markChanged, renderImage, setColor, setLabel, setSize, setTransparency |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TrafficLightIcon(java.lang.String imageFile)
Method Detail |
---|
public void paintIcon(java.awt.Graphics g)
paintIcon
in class becker.robots.icons.Icon
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |