-
- All Superinterfaces:
Serializable
public interface ColorProvider extends Serializable
Provides background/foreground colors for entities.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
color(Entity entity, Attribute<?> attribute)
Returns the Object representing the specific color to use for the given attribute in the given entity, null in case of no specific color
-
-
-
Method Detail
-
color
Object color(Entity entity, Attribute<?> attribute)
Returns the Object representing the specific color to use for the given attribute in the given entity, null in case of no specific color- Parameters:
entity
- the entityattribute
- the attribute- Returns:
- the color to use for this entity and attribute, null if no color is specified
-
-