JHotDraw 7.0.9

org.jhotdraw.draw
Interface ToolListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
DefaultDrawingEditor, DelegationSelectionTool, SelectionTool

public interface ToolListener
extends java.util.EventListener

Change event passed to ToolListener's.

Version:
3.0 2003-02-13 Revised to support multiple views.
1.0 2003-12-01 Derived from JHotDraw 5.4b1.
Author:
Werner Randelshofer

Method Summary
 void areaInvalidated(ToolEvent e)
          Sent when an area of the drawing view needs to be repainted.
 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.
 

Method Detail

toolStarted

void toolStarted(ToolEvent event)
Informs the listener that a tool has starteds interacting with a specific drawing view.


toolDone

void toolDone(ToolEvent event)
Informs the listener that a tool has done its interaction. This method can be used to switch back to the default tool.


areaInvalidated

void areaInvalidated(ToolEvent e)
Sent when an area of the drawing view needs to be repainted.


Copyright 1996-2007 (c) JHotDraw.org.
Some rights reserved.