com.taco.swinger.text2gui.border
Class DispatchingBorderConverter
java.lang.Object
com.taco.text.AbstractInterpolatingStringToObjectConverter
com.taco.text.InterpolatingConverter
com.taco.text.DispatchingConverter
com.taco.swinger.text2gui.border.DispatchingBorderConverter
- All Implemented Interfaces:
- IInterpolatingConverter, IInterpolatingStringToObjectConverter, IStringToObjectConverter, IInterpolatingResourceBundleToObjectConverter, java.io.Serializable, java.lang.Cloneable
public class DispatchingBorderConverter
- extends DispatchingConverter
An implementation of IInterpolatingConverter
that converts
strings and resource bundles to borders. Because the variety of borders is
limitless, this class acts as a dispatcher to installed string to border
converters. The first word of a string is used to select the appropriate
border converter for the entire string. By itself, this class supports the
following types of borders: empty, etched, line, matte, bevel, titled, and
compound. Additional types of borders can be installed with
installConverter()
.
- See Also:
- Serialized Form
Constructor Summary |
DispatchingBorderConverter()
Create a new instance whose implementation of
IStringToObjectConverter is incapable of resolving
references. |
DispatchingBorderConverter(java.util.ResourceBundle bundle,
INoReturnMap argMap)
Create a new instance whose implementation of
IStringToObjectConverter uses the specified resource
bundle and argument map to resolve references. |
Methods inherited from class com.taco.text.DispatchingConverter |
_getTypeForSuffix, _guessType, _literalToObject, _toObject, clone, configureComposite, getConfigurerForType, getConverterForType, installConfigurer, installConverter, installTypeForSuffix, name |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static final DispatchingBorderConverter instance
- The default instance of this class.
DispatchingBorderConverter
public DispatchingBorderConverter()
- Create a new instance whose implementation of
IStringToObjectConverter
is incapable of resolving
references.
DispatchingBorderConverter
public DispatchingBorderConverter(java.util.ResourceBundle bundle,
INoReturnMap argMap)
- Create a new instance whose implementation of
IStringToObjectConverter
uses the specified resource
bundle and argument map to resolve references.