public class FloatAttributeHandler extends Object implements AttributeHandler
Constructor and Description |
---|
FloatAttributeHandler()
Creates a new attribute handler.
|
Modifier and Type | Method and Description |
---|---|
String |
toAttributeValue(Object o)
Converts the attribute to a string.
|
Object |
toPropertyValue(String s)
Converts a string to a
Float . |
public FloatAttributeHandler()
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
.Copyright © 2001–2018 JFree.org. All rights reserved.