public class BorderUIResourceHandler extends UIResourceHandler
Constructor and Description |
---|
BorderUIResourceHandler(java.lang.String id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static javax.swing.border.Border |
createBorder(java.lang.String descr) |
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, setValue
public BorderUIResourceHandler(java.lang.String id)
id
- ID of resourceprotected java.lang.Object toValue(java.lang.String text)
toValue
in class UIResourceHandler
text
- textual representationnull
if the text cannot be convertedfromValue(Object)
protected java.lang.String fromValue(java.lang.Object value)
fromValue
in class UIResourceHandler
value
- the UI valuetoValue(String)
public static javax.swing.border.Border createBorder(java.lang.String descr) throws java.text.ParseException
java.text.ParseException
public java.lang.Class<?> getHandledClass()
getHandledClass
in class UIResourceHandler