jdraw.framework
Class FigureEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--jdraw.framework.FigureEvent
All Implemented Interfaces:
java.io.Serializable

public class FigureEvent
extends java.util.EventObject

An event which indicates that a figure event occurred in a figure. This may be a change of position or a change of the figure's size.

See Also:
FigureListener, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FigureEvent(jdraw.framework.Figure source)
          Constructs a FigureEvent object with the specified figure.
 
Method Summary
 jdraw.framework.Figure getFigure()
          Returns the figure which changed.
 
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

FigureEvent

public FigureEvent(jdraw.framework.Figure source)
Constructs a FigureEvent object with the specified figure.

Parameters:
source - figure which changed
Method Detail

getFigure

public jdraw.framework.Figure getFigure()
Returns the figure which changed.

Returns:
changed figure