public interface ToolListener extends java.util.EventListener
State changes of tools can be observed by other objects. Specifically
DrawingEditor observes area invalidations of tools and repaints
its active drawing view accordingly.
|Modifier and Type||Method and Description|
Sent when an area of the drawing view needs to be repainted.
Sent when the tool has edited an area outside of the bounds of the canvas.
Informs the listener that a tool has done its interaction.
Informs the listener that a tool has starteds interacting with a specific drawing view.
void toolStarted(ToolEvent event)
void toolDone(ToolEvent event)
void areaInvalidated(ToolEvent e)
void boundsInvalidated(ToolEvent e)