CH.ifa.draw.framework
Class FigureChangeEvent
java.lang.Object
java.util.EventObject
CH.ifa.draw.framework.FigureChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
public class FigureChangeEvent
- extends java.util.EventObject
FigureChange event passed to FigureChangeListeners.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
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 |
FigureChangeEvent
public FigureChangeEvent(Figure source,
java.awt.Rectangle r)
- Constructs an event for the given source Figure. The rectangle is the
area to be invalvidated.
FigureChangeEvent
public FigureChangeEvent(Figure source)
getFigure
public Figure getFigure()
- Gets the changed figure
getInvalidatedRectangle
public java.awt.Rectangle getInvalidatedRectangle()
- Gets the changed rectangle