JHotDraw 6.0b1

org.jhotdraw.framework
Class FigureChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.jhotdraw.framework.FigureChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class FigureChangeEvent
extends java.util.EventObject

FigureChange event passed to FigureChangeListeners.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FigureChangeEvent(Figure newSource)
           
FigureChangeEvent(Figure newSource, java.awt.Rectangle newRect)
          Constructs an event for the given source Figure.
FigureChangeEvent(Figure newSource, java.awt.Rectangle newRect, FigureChangeEvent nestedEvent)
           
 
Method Summary
 Figure getFigure()
          Gets the changed figure
 java.awt.Rectangle getInvalidatedRectangle()
          Gets the changed rectangle
 FigureChangeEvent getNestedEvent()
           
 
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

FigureChangeEvent

public FigureChangeEvent(Figure newSource,
                         java.awt.Rectangle newRect)
Constructs an event for the given source Figure. The rectangle is the area to be invalvidated.


FigureChangeEvent

public FigureChangeEvent(Figure newSource)

FigureChangeEvent

public FigureChangeEvent(Figure newSource,
                         java.awt.Rectangle newRect,
                         FigureChangeEvent nestedEvent)
Method Detail

getFigure

public Figure getFigure()
Gets the changed figure


getInvalidatedRectangle

public java.awt.Rectangle getInvalidatedRectangle()
Gets the changed rectangle


getNestedEvent

public FigureChangeEvent getNestedEvent()

JHotDraw 6.0b1