public class BorderConverter extends Object implements Converter
BorderConverter class defines a converter that creates Border objects based on a provided String.
The BorderConverter internally uses the javax.swing.BorderFactory and its static create.. methods
to instantiate different kinds of borders, based on the given String.ConverterLibrary. Therefore, only parameter classes are supported that
have registered converters in the ConverLibrary.
BorderFactory,
AbstractBorder,
ConverterLibrary| Modifier and Type | Field and Description |
|---|---|
static Class |
TEMPLATE
converter's return type
|
| Constructor and Description |
|---|
BorderConverter() |
public static final Class TEMPLATE
public Object convert(Class type, Attribute attr, Localizer localizer)
javax.swing Borderpublic Class convertsTo()
Converters conversTo method informs about the Class type the converter
is returning when its convert method is calledconvertsTo in interface ConverterClass - the Class the converter is returning when its convert method is calledCopyright © 2002 - 2013 - Wolf Paulus - wolfpaulus.com. All rights reserved.