|
JHotDraw 7.5.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jhotdraw.draw.event.ToolAdapter
public class ToolAdapter
An abstract adapter class for receiving ToolEvents. This class
exists as a convenience for creating ToolListener objects.
| Constructor Summary | |
|---|---|
ToolAdapter()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToolAdapter()
| Method Detail |
|---|
public void toolStarted(ToolEvent event)
ToolListener
toolStarted in interface ToolListenerpublic void toolDone(ToolEvent event)
ToolListener
toolDone in interface ToolListenerpublic void areaInvalidated(ToolEvent e)
ToolListener
areaInvalidated in interface ToolListenerpublic void boundsInvalidated(ToolEvent e)
ToolListener
boundsInvalidated in interface ToolListener
|
Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||