edu.brook.ascape.view
Interface ColorFeature
- All Known Implementing Classes:
- Agent, ColorFeatureConcrete, DrawColorFeature
- public abstract interface ColorFeature
- extends HasName
A Color feature returns a color 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.0
- Version:
- 1.0.1
|
Method Summary |
java.awt.Color |
getColor(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 |
getColor
public java.awt.Color getColor(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.