org.jfree.report.util.beans
public class ColorValueConverter extends java.lang.Object implements ValueConverter
Integer
attributes to and from their
String
representation.Constructor and Description |
---|
ColorValueConverter()
Creates a new value converter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toAttributeValue(java.lang.Object o)
Converts the attribute to a string.
|
java.lang.Object |
toPropertyValue(java.lang.String value)
Converts a string to a
Integer . |
public java.lang.String toAttributeValue(java.lang.Object o)
toAttributeValue
in interface ValueConverter
o
- the attribute (Integer
expected).Integer
value.public java.lang.Object toPropertyValue(java.lang.String value)
Integer
.toPropertyValue
in interface ValueConverter
value
- the string.Integer
.