Package org.jfree.report.util.beans
Class ColorValueConverter
java.lang.Object
org.jfree.report.util.beans.ColorValueConverter
- All Implemented Interfaces:
ValueConverter
- Author:
- Thomas Morgner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts the attribute to a string.toPropertyValue(String value) Converts a string to aInteger.
-
Constructor Details
-
ColorValueConverter
public ColorValueConverter()Creates a new value converter.
-
-
Method Details
-
toAttributeValue
Converts the attribute to a string.- Specified by:
toAttributeValuein interfaceValueConverter- Parameters:
o- the attribute (Integerexpected).- Returns:
- A string representing the
Integervalue.
-
toPropertyValue
Converts a string to aInteger.- Specified by:
toPropertyValuein interfaceValueConverter- Parameters:
value- the string.- Returns:
- a
Integer.
-