public class ToolAdapter extends java.lang.Object implements ToolListener
ToolEvent
s. 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)
ToolListener
toolStarted
in interface ToolListener
public void toolDone(ToolEvent event)
ToolListener
toolDone
in interface ToolListener
public void areaInvalidated(ToolEvent e)
ToolListener
areaInvalidated
in interface ToolListener
public void boundsInvalidated(ToolEvent e)
ToolListener
boundsInvalidated
in interface ToolListener