|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfree.report.util.beans.ShortValueConverter
public class ShortValueConverter
A class that handles the conversion of Integer attributes to and from their
String representation.
| Constructor Summary | |
|---|---|
ShortValueConverter()
Creates a new value converter. |
|
| Method Summary | |
|---|---|
java.lang.String |
toAttributeValue(java.lang.Object o)
Converts the attribute to a string. |
java.lang.Object |
toPropertyValue(java.lang.String s)
Converts a string to a Integer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShortValueConverter()
| Method Detail |
|---|
public java.lang.String toAttributeValue(java.lang.Object o)
toAttributeValue in interface ValueConvertero - the attribute (Integer expected).
Integer value.public java.lang.Object toPropertyValue(java.lang.String s)
Integer.
toPropertyValue in interface ValueConverters - the string.
Integer.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||