Class sunsoft.jws.visual.rt.type.DimensionConverter
All Packages Class Hierarchy This Package Previous Next Index
Class sunsoft.jws.visual.rt.type.DimensionConverter
java.lang.Object
|
+----sunsoft.jws.visual.rt.type.Converter
|
+----sunsoft.jws.visual.rt.type.DimensionConverter
- public class DimensionConverter
- extends Converter
Converts Dimension objects to strings and back again. The format
of the string representation is "width=#;height=#", where # can be
any non-negative number.
- See Also:
- Dimension
-
DimensionConverter()
-
-
convertFromString(String)
- Returns a new instance of the type this converter converts, as
specified by the string given.
-
convertToCode(Object)
- Converts an instance of the type converted into a line of code.
-
convertToString(Object)
- Returns the string representation for an instance of the type this
converter converts.
DimensionConverter
public DimensionConverter()
convertToString
public String convertToString(Object obj)
- Returns the string representation for an instance of the type this
converter converts.
- Overrides:
- convertToString in class Converter
convertFromString
public Object convertFromString(String s)
- Returns a new instance of the type this converter converts, as
specified by the string given.
- Overrides:
- convertFromString in class Converter
convertToCode
public String convertToCode(Object obj)
- Converts an instance of the type converted into a line of code.
- Overrides:
- convertToCode in class Converter
All Packages Class Hierarchy This Package Previous Next Index