fr.emn.examples.icondraw
Class LineTool
java.lang.Object
fr.emn.examples.icondraw.LineTool
- All Implemented Interfaces:
- Tool
- public class LineTool
- extends java.lang.Object
- implements Tool
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineTool
public LineTool()
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