|
JHotDraw 7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
org.jhotdraw.draw.ToolEvent
public class ToolEvent
An event sent to ToolListener's.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ToolEvent(Tool src,
DrawingView view,
java.awt.Rectangle invalidatedArea)
Creates a new instance. |
|
| Method Summary | |
|---|---|
java.awt.Rectangle |
getInvalidatedArea()
Gets the bounds of the invalidated area on the drawing view. |
Tool |
getTool()
Gets the tool which is the source of the event. |
DrawingView |
getView()
Gets the drawing view of the tool. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ToolEvent(Tool src,
DrawingView view,
java.awt.Rectangle invalidatedArea)
| Method Detail |
|---|
public Tool getTool()
public DrawingView getView()
public java.awt.Rectangle getInvalidatedArea()
|
Copyright 1996-2007 (c) JHotDraw.org. Some rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||