Class sunsoft.jws.visual.rt.type.PointConverter
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sunsoft.jws.visual.rt.type.PointConverter

java.lang.Object
   |
   +----sunsoft.jws.visual.rt.type.Converter
           |
           +----sunsoft.jws.visual.rt.type.PointConverter

public class PointConverter
extends Converter
Converts Point objects to strings and back again. An example of the string representation: "x=45;y=24".

Constructor Index

 o PointConverter()

Method Index

 o convertFromString(String)
Converts a string representation to a new instance of Point.
 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 PointConverter
  public PointConverter()

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)
Converts a string representation to a new instance of Point.
Throws: ParseException
when there is a format problem with the string
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