|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Interface Summary | |
ObjectConverter | Converter to convert a given object into the class specified by the
ObjectConverter.getClassToConvertTo() method. |
Class Summary | |
CachingConverterWrapper | An instance of ObjectConverter that can wrap another ObjectConverter and provide caching for the objects that are converted. |
Converter | Singleton that can translate objects into other objects. |
ConverterBoolean | Converts to a java.lang.Boolean object. |
ConverterBorder | Converts the given object into a String via the toString()
method and then converts the String into a
javax.swing.border.Border object. |
ConverterCharacter | Converts the given object into a String via the toString()
method and then returns the first character of the String. |
ConverterColor | Converts the given object into a String via the toString()
method and then converts the String into a java.awt.Color
object. |
ConverterDimension | Converts the given object into a String via the toString()
method and then converts the String into a java.awt.Dimension
based on a String format of widthXsize (x is case-insensitive).For example, 200x300 translates to 200 width and 300 height. |
ConverterFont | Converts the given object into a String via the toString()
method and then converts the String into a java.awt.Font
object.Fonts are specified in FontName,Style,Size order. |
ConverterImageIcon | Converts the given object into a String via the toString()
method and then converts the String into a javax.swing.ImageIcon
object.The string is expected to be a URL pointing to a valid image resource. |
ConverterInsets | Converts the given object into a String via the toString()
method and then converts the String into a java.awt.Insets
object.Insets contain 4 numbers generally used for padding and margin notation. |
ConverterNumber | Converter that can handle converting an object into the
java.lang.Number subclass specified in the constructor. |
ConverterRectangle | Converts the given object into a String via the toString()
method and then converts the String into a java.awt.Rectangle
based on a String format of x,y,width,height.For example, 0,0,100,200 translates into a rectangle at x/y 0,0 with a width of 100 and a height of 200 |
DefaultingConverterWrapper | An instance of ObjectConverter that can wrap another ObjectConverter and provide a default value if the wrapped converter's conversion fails. |
UrlConverter | Converts the given object into a String via the toString()
method and then converts the String into a java.net.URL
object.The string is expected to be in URL format so that a call to the constructor for java.net.URL succeeds wihtout a MalformedURLException. |
Exception Summary | |
ObjectConverterException | General exception thrown by Converter
when there is a conversion error. |
|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |