JHotDraw 6.0b1

org.jhotdraw.framework
Class DrawingChangeEvent

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

public class DrawingChangeEvent
extends java.util.EventObject

The event passed to DrawingChangeListeners.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DrawingChangeEvent(Drawing newSource, java.awt.Rectangle newRect)
          Constructs a drawing change event.
 
Method Summary
 Drawing getDrawing()
          Gets the changed drawing
 java.awt.Rectangle getInvalidatedRectangle()
          Gets the changed rectangle
 
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

DrawingChangeEvent

public DrawingChangeEvent(Drawing newSource,
                          java.awt.Rectangle newRect)
Constructs a drawing change event.

Method Detail

getDrawing

public Drawing getDrawing()
Gets the changed drawing


getInvalidatedRectangle

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


JHotDraw 6.0b1