net.refractions.udig.tools.edit.support
Class PathAdapter

java.lang.Object
  extended by net.refractions.udig.tools.edit.support.PathAdapter

public class PathAdapter
extends java.lang.Object

Provides a single interface for interacting with swt Path objects and awt GeneralPath Objects. This is because right now Linux requires awt and other platforms use SWT.

Since:
1.1.0
Author:
Jesse

Constructor Summary
PathAdapter()
           
 
Method Summary
 void close()
           
 Path getPath()
           
 java.awt.geom.PathIterator getPathIterator()
           
 boolean isPath()
           
 void lineTo(int x, int y)
           
 void moveTo(int x, int y)
           
 void setPath(Path path2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathAdapter

public PathAdapter()
Method Detail

lineTo

public void lineTo(int x,
                   int y)

moveTo

public void moveTo(int x,
                   int y)

isPath

public boolean isPath()

getPath

public Path getPath()

getPathIterator

public java.awt.geom.PathIterator getPathIterator()

setPath

public void setPath(Path path2)

close

public void close()