|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfree.xml.attributehandlers.DoubleAttributeHandler
public class DoubleAttributeHandler
A class that handles the conversion of Double attributes to and from an appropriate
String representation.
| Constructor Summary | |
|---|---|
DoubleAttributeHandler()
Creates a new attribute handler. |
|
| 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 Double. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DoubleAttributeHandler()
| Method Detail |
|---|
public java.lang.String toAttributeValue(java.lang.Object o)
toAttributeValue in interface AttributeHandlero - the attribute (Double expected).
Double value.public java.lang.Object toPropertyValue(java.lang.String s)
Double.
toPropertyValue in interface AttributeHandlers - the string.
Double.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||