Valuepublic class ICCNamedColor extends AbstractValue
| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String |
colorName |
The color name.
|
protected java.lang.String |
colorProfile |
The color profile.
|
static java.lang.String |
ICC_NAMED_COLOR_FUNCTION |
| Constructor | Description |
|---|---|
ICCNamedColor(java.lang.String profileName,
java.lang.String colorName) |
Creates a new ICCNamedColor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getColorName() |
Returns the color name
|
java.lang.String |
getColorProfile() |
Returns the color name.
|
java.lang.String |
getCssText() |
A string representation of the current value.
|
short |
getCssValueType() |
Implements
Value.getCssValueType(). |
java.lang.String |
toString() |
createDOMException, getBlue, getBottom, getFloatValue, getGreen, getIdentifier, getLeft, getLength, getListStyle, getPrimitiveType, getRed, getRight, getSeparator, getStringValue, getTop, itempublic static final java.lang.String ICC_NAMED_COLOR_FUNCTION
protected java.lang.String colorProfile
protected java.lang.String colorName
public ICCNamedColor(java.lang.String profileName,
java.lang.String colorName)
public short getCssValueType()
Value.getCssValueType().getCssValueType in interface ValuegetCssValueType in class AbstractValuepublic java.lang.String getColorProfile()
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic java.lang.String getColorName()
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic java.lang.String getCssText()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2018 Apache Software Foundation. All Rights Reserved.