Modifier and Type | Field and Description |
---|---|
static Color |
NONE
Represents no color value;
|
Constructor and Description |
---|
Color()
Constructs an empty color object.
|
Color(String color)
Constructs a color using the given literal string.
|
public static final Color NONE
public Color()
public Color(String color)
color
- the color stringpublic String getColor()
public void setColor(String color)
color
- the new literal color string to setCopyright © 2015. All rights reserved.