|
JHotDraw 7.0.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.jhotdraw.draw.DrawingEvent
public class DrawingEvent
Change event passed to DrawingChangeListeners.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
DrawingEvent(Drawing source,
Figure figure,
java.awt.geom.Rectangle2D.Double invalidatedArea)
Constructs an event for the provided Drawing. |
|
DrawingEvent(Drawing source,
Figure figure,
java.awt.geom.Rectangle2D.Double invalidatedArea,
int zIndex)
Constructs an event for the provided Drawing. |
Method Summary | |
---|---|
Drawing |
getDrawing()
Gets the changed drawing. |
Figure |
getFigure()
Gets the changed figure. |
int |
getIndex()
Returns the z-index of the figure. |
java.awt.geom.Rectangle2D.Double |
getInvalidatedArea()
Gets the bounds of the invalidated area on the drawing. |
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 DrawingEvent(Drawing source, Figure figure, java.awt.geom.Rectangle2D.Double invalidatedArea)
figure
- The changed figure.invalidatedArea
- The bounds of the invalidated area on the drawing.public DrawingEvent(Drawing source, Figure figure, java.awt.geom.Rectangle2D.Double invalidatedArea, int zIndex)
figure
- The changed figure.invalidatedArea
- The bounds of the invalidated area on the drawing.Method Detail |
---|
public Drawing getDrawing()
public Figure getFigure()
public java.awt.geom.Rectangle2D.Double getInvalidatedArea()
public int getIndex()
|
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 |