public class FontUIResourceHandler extends UIResourceHandler
| Constructor and Description |
|---|
FontUIResourceHandler(java.lang.String id)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
fromValue(java.lang.Object value)
Get the string representation of a value.
|
java.lang.Class<?> |
getHandledClass()
Get the class handled by this resource handler.
|
protected java.lang.Object |
toValue(java.lang.String text)
Convert a textual representation of a value to a value.
|
getID, getValue, setValuepublic FontUIResourceHandler(java.lang.String id)
id - ID of resourceprotected java.lang.Object toValue(java.lang.String text)
toValue in class UIResourceHandlertext - textual representationnull if the text cannot be convertedfromValue(Object)protected java.lang.String fromValue(java.lang.Object value)
fromValue in class UIResourceHandlervalue - the UI valuetoValue(String)public java.lang.Class<?> getHandledClass()
getHandledClass in class UIResourceHandler