public class ToolAdapter extends java.lang.Object implements ToolListener
ToolEvents. This class
exists as a convenience for creating ToolListener objects.| Constructor and Description |
|---|
ToolAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
areaInvalidated(ToolEvent e)
Sent when an area of the drawing view needs to be repainted.
|
void |
boundsInvalidated(ToolEvent e)
Sent when the tool has edited an area outside of the bounds
of the canvas.
|
void |
toolDone(ToolEvent event)
Informs the listener that a tool has done its interaction.
|
void |
toolStarted(ToolEvent event)
Informs the listener that a tool has starteds interacting with a
specific drawing view.
|
public void toolStarted(ToolEvent event)
ToolListenertoolStarted in interface ToolListenerpublic void toolDone(ToolEvent event)
ToolListenertoolDone in interface ToolListenerpublic void areaInvalidated(ToolEvent e)
ToolListenerareaInvalidated in interface ToolListenerpublic void boundsInvalidated(ToolEvent e)
ToolListenerboundsInvalidated in interface ToolListener