com.googlecode.sarasvati.visual.util
Class ConvertUtil

java.lang.Object
  extended by com.googlecode.sarasvati.visual.util.ConvertUtil

public class ConvertUtil
extends Object


Constructor Summary
ConvertUtil()
           
 
Method Summary
static void appendPolygon(Polygon poly, StringBuilder buf)
           
static org.eclipse.draw2d.geometry.Point awtToSwt(Point point)
           
static org.eclipse.draw2d.geometry.Rectangle awtToSwt(Rectangle r)
           
static Point swtToAwt(org.eclipse.draw2d.geometry.Point point)
           
static Rectangle swtToAwt(org.eclipse.draw2d.geometry.Rectangle r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertUtil

public ConvertUtil()
Method Detail

awtToSwt

public static org.eclipse.draw2d.geometry.Rectangle awtToSwt(Rectangle r)

awtToSwt

public static org.eclipse.draw2d.geometry.Point awtToSwt(Point point)

swtToAwt

public static Rectangle swtToAwt(org.eclipse.draw2d.geometry.Rectangle r)

swtToAwt

public static Point swtToAwt(org.eclipse.draw2d.geometry.Point point)

appendPolygon

public static void appendPolygon(Polygon poly,
                                 StringBuilder buf)


Copyright © 2012. All Rights Reserved.