tools
Class DrawPadPlotter

java.lang.Object
  |
  +--tools.DrawPadPlotter
All Implemented Interfaces:
Plotter

public class DrawPadPlotter
extends java.lang.Object
implements Plotter


Constructor Summary
DrawPadPlotter()
          Creates new DrawPadPlotter
 
Method Summary
 void down()
          downs the plotter virtual pen
 Point getCurrentPosition()
          returns current X position of the pen.
 void moveTo(Point pos)
          move the pen from current position to pos position.
 void up()
          ups the plotter virtual pen.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawPadPlotter

public DrawPadPlotter()
Creates new DrawPadPlotter
Method Detail

up

public void up()
ups the plotter virtual pen.
Specified by:
up in interface Plotter

down

public void down()
downs the plotter virtual pen
Specified by:
down in interface Plotter

moveTo

public void moveTo(Point pos)
move the pen from current position to pos position.
Specified by:
moveTo in interface Plotter
Parameters:
pos - new pen position

getCurrentPosition

public Point getCurrentPosition()
returns current X position of the pen.
Specified by:
getCurrentPosition in interface Plotter