|
JCommon 1.0.17-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.xml.attributehandlers.FloatAttributeHandler
public class FloatAttributeHandler
A class that handles the conversion of Float
attributes to and from an appropriate
String
representation.
Constructor Summary | |
---|---|
FloatAttributeHandler()
Creates a new attribute handler. |
Method Summary | |
---|---|
String |
toAttributeValue(Object o)
Converts the attribute to a string. |
Object |
toPropertyValue(String s)
Converts a string to a Float . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FloatAttributeHandler()
Method Detail |
---|
public String toAttributeValue(Object o)
toAttributeValue
in interface AttributeHandler
o
- the attribute (Float
expected).
Float
value.public Object toPropertyValue(String s)
Float
.
toPropertyValue
in interface AttributeHandler
s
- the string.
Float
.
|
JCommon 1.0.17-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |