fr.emn.examples.icondraw
Class LineTool

java.lang.Object
  extended byfr.emn.examples.icondraw.LineTool
All Implemented Interfaces:
Tool

public class LineTool
extends java.lang.Object
implements Tool


Constructor Summary
LineTool()
           
 
Method Summary
 void abort()
           
 void drag(int x, int y)
           
 Lite end(int x, int y)
           
 boolean isActive()
           
 void paint(java.awt.Graphics2D g)
           
 void start(int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineTool

public LineTool()
Method Detail

abort

public void abort()
Specified by:
abort in interface Tool

drag

public void drag(int x,
                 int y)
Specified by:
drag in interface Tool

end

public Lite end(int x,
                int y)
Specified by:
end in interface Tool

isActive

public boolean isActive()
Specified by:
isActive in interface Tool

paint

public void paint(java.awt.Graphics2D g)
Specified by:
paint in interface Tool

start

public void start(int x,
                  int y)
Specified by:
start in interface Tool