EchoPoint
1.0

echopoint.stylesheet
Class SymbolicColorValue

java.lang.Object
  extended byechopoint.stylesheet.SymbolicColorValue
All Implemented Interfaces:
java.io.Serializable, SymbolicValue

public class SymbolicColorValue
extends java.lang.Object
implements SymbolicValue

A SymbolicValue for Color data. The getValue will always return an Color object.

See Also:
Serialized Form

Constructor Summary
SymbolicColorValue(nextapp.echo.Color value, java.lang.String symbol)
          Constructor that takes an Color value and symbolic string
 
Method Summary
 java.lang.String getSymbolic()
          The symbolic string value for a given object value It must not be null.
 java.lang.Object getValue()
          The actual object value for a given symbolic value.
 boolean matches(java.lang.String testSymbolicValue)
          This method can be called to see if a symbolic value in fact matches this SymbolicValue object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymbolicColorValue

public SymbolicColorValue(nextapp.echo.Color value,
                          java.lang.String symbol)
Constructor that takes an Color value and symbolic string

Method Detail

getSymbolic

public java.lang.String getSymbolic()
Description copied from interface: SymbolicValue
The symbolic string value for a given object value It must not be null.

Specified by:
getSymbolic in interface SymbolicValue
Returns:
a symbolic String
See Also:
SymbolicValue.getSymbolic()

getValue

public java.lang.Object getValue()
Description copied from interface: SymbolicValue
The actual object value for a given symbolic value.

Specified by:
getValue in interface SymbolicValue
Returns:
an object value
See Also:
SymbolicValue.getValue()

matches

public boolean matches(java.lang.String testSymbolicValue)
Description copied from interface: SymbolicValue
This method can be called to see if a symbolic value in fact matches this SymbolicValue object. It should return true if this is the case. This method allows pattern matching such as case insenstive equality.

Specified by:
matches in interface SymbolicValue
Parameters:
testSymbolicValue -
Returns:
true if the symbolic values match
See Also:
SymbolicValue.matches(java.lang.String)

EchoPoint
1.0