public class NoColorFactory extends java.lang.Object implements ColorFactory
Color.BLACK
.Constructor and Description |
---|
NoColorFactory() |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor(java.lang.Object object)
Get the color for an item.
|
public java.awt.Color getColor(java.lang.Object object)
ColorFactory
getColor
in interface ColorFactory
object
- Can be any class, but the implementation may place restrictions on valid types.