edu.brook.ascape.view
Interface ImageFeature
- All Known Implementing Classes:
- Agent, DrawImageFeature, ImageFeatureConcrete
- public abstract interface ImageFeature
- extends HasName
An image feature returns an image based on the state of an object of known type provided to it.
Used to provide an appropriate color for some feature or aspect of an object.
- Since:
- 1.2.5
- Version:
- 1.2.5
|
Method Summary |
java.awt.Image |
getImage(java.lang.Object object)
Returns a color for the object as defined in implementions of this class. |
| Methods inherited from interface edu.brook.ascape.util.HasName |
getName |
getImage
public java.awt.Image getImage(java.lang.Object object)
- Returns a color for the object as defined in implementions of this class.
- Parameters:
object - the object to get a color from.