org.jhotdraw.draw
Class DefaultDrawingEditor.ToolHandler

java.lang.Object
  extended by org.jhotdraw.draw.event.ToolAdapter
      extended by org.jhotdraw.draw.DefaultDrawingEditor.ToolHandler
All Implemented Interfaces:
java.util.EventListener, ToolListener
Enclosing class:
DefaultDrawingEditor

private class DefaultDrawingEditor.ToolHandler
extends ToolAdapter


Constructor Summary
private DefaultDrawingEditor.ToolHandler()
           
 
Method Summary
 void areaInvalidated(ToolEvent evt)
          Sent when an area of the drawing view needs to be repainted.
 void boundsInvalidated(ToolEvent evt)
          Sent when the tool has edited an area outside of the bounds of the canvas.
 void toolStarted(ToolEvent evt)
          Informs the listener that a tool has starteds interacting with a specific drawing view.
 
Methods inherited from class org.jhotdraw.draw.event.ToolAdapter
toolDone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDrawingEditor.ToolHandler

private DefaultDrawingEditor.ToolHandler()
Method Detail

areaInvalidated

public void areaInvalidated(ToolEvent evt)
Description copied from interface: ToolListener
Sent when an area of the drawing view needs to be repainted.

Specified by:
areaInvalidated in interface ToolListener
Overrides:
areaInvalidated in class ToolAdapter

toolStarted

public void toolStarted(ToolEvent evt)
Description copied from interface: ToolListener
Informs the listener that a tool has starteds interacting with a specific drawing view.

Specified by:
toolStarted in interface ToolListener
Overrides:
toolStarted in class ToolAdapter

boundsInvalidated

public void boundsInvalidated(ToolEvent evt)
Description copied from interface: ToolListener
Sent when the tool has edited an area outside of the bounds of the canvas.

Specified by:
boundsInvalidated in interface ToolListener
Overrides:
boundsInvalidated in class ToolAdapter