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

Constructor Index

 o DimensionConverter()

Method Index

 o convertFromString(String)
Returns a new instance of the type this converter converts, as specified by the string given.
 o convertToCode(Object)
Converts an instance of the type converted into a line of code.
 o convertToString(Object)
Returns the string representation for an instance of the type this converter converts.

Constructors

 o DimensionConverter
  public DimensionConverter()

Methods

 o convertToString
  public String convertToString(Object obj)
Returns the string representation for an instance of the type this converter converts.
Overrides:
convertToString in class Converter
 o 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
 o 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