Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jfree.report.util.beans.ColorValueConverter
Integer
attributes to and from their
String
representation.
Constructor Summary | |
|
Method Summary | |
String |
|
Object |
|
public String toAttributeValue(Object o)
Converts the attribute to a string.
- Specified by:
- toAttributeValue in interface ValueConverter
- Parameters:
o
- the attribute (Integer
expected).
- Returns:
- A string representing the
Integer
value.
public Object toPropertyValue(String value)
Converts a string to aInteger
.
- Specified by:
- toPropertyValue in interface ValueConverter
- Parameters:
value
- the string.
- Returns:
- a
Integer
.