|
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.FigureEvent
public class FigureEvent
Change event passed to FigureListeners.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
FigureEvent(Figure source,
AttributeKey attribute,
java.lang.Object oldValue,
java.lang.Object newValue)
Constructs an event for the given source Figure. |
|
FigureEvent(Figure source,
java.awt.geom.Rectangle2D.Double invalidatedArea)
Constructs an event for the given source Figure. |
|
| Method Summary | |
|---|---|
AttributeKey |
getAttribute()
|
Figure |
getFigure()
Gets the changed figure |
java.awt.geom.Rectangle2D.Double |
getInvalidatedArea()
Gets the bounds of the invalidated area on the drawing. |
java.lang.Object |
getNewValue()
|
java.lang.Object |
getOldValue()
|
| 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 FigureEvent(Figure source,
java.awt.geom.Rectangle2D.Double invalidatedArea)
invalidatedArea - The bounds of the invalidated area on the drawing.
public FigureEvent(Figure source,
AttributeKey attribute,
java.lang.Object oldValue,
java.lang.Object newValue)
| Method Detail |
|---|
public Figure getFigure()
public java.awt.geom.Rectangle2D.Double getInvalidatedArea()
public AttributeKey getAttribute()
public java.lang.Object getOldValue()
public java.lang.Object getNewValue()
|
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 | ||||||||