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.EventObjectFigureChange event passed to FigureChangeListeners.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description FigureChangeEvent(Figure source)FigureChangeEvent(Figure source, java.awt.Rectangle r)Constructs an event for the given source Figure.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description FiguregetFigure()Gets the changed figurejava.awt.RectanglegetInvalidatedRectangle()Gets the changed rectangle
-
-
-
Constructor Detail
-
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)
-
-
Method Detail
-
getFigure
public Figure getFigure()
Gets the changed figure
-
getInvalidatedRectangle
public java.awt.Rectangle getInvalidatedRectangle()
Gets the changed rectangle
-
-
DataMelt 3.0 © DataMelt by jWork.ORG