org.ascape.util.vis
Interface ColorFeature

All Superinterfaces:
HasName
All Known Subinterfaces:
EntityFeature
All Known Implementing Classes:
ColorFeatureConcrete, ColorFeatureFixed, ColorFeatureGradiated, ColorFeatureGradiatedIndex, DefaultEntityFeature, DrawColorFeature, FillCellFeature

public 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
Author:
Miles Parker

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 org.ascape.util.HasName
getName
 

Method Detail

getColor

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.


Copyright © 1998-2008 The Brookings Institution, NuTech Solutions, Metascape, LLC All Rights Reserved.