Back to index

moin  1.9.0~rc2
Public Member Functions | Private Attributes
CH.ifa.draw.framework.DrawingChangeEvent Class Reference

The event passed to DrawingChangeListeners. More...

Inheritance diagram for CH.ifa.draw.framework.DrawingChangeEvent:
Inheritance graph
[legend]
Collaboration diagram for CH.ifa.draw.framework.DrawingChangeEvent:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DrawingChangeEvent (Drawing source, Rectangle r)
 Constructs a drawing change event.
Drawing getDrawing ()
 Gets the changed drawing.
Rectangle getInvalidatedRectangle ()
 Gets the changed rectangle.

Private Attributes

Rectangle fRectangle

Detailed Description

The event passed to DrawingChangeListeners.

Definition at line 15 of file DrawingChangeEvent.java.


Constructor & Destructor Documentation

Constructs a drawing change event.

Definition at line 22 of file DrawingChangeEvent.java.

                                                           {
        super(source);
        fRectangle = r;
    }

Member Function Documentation

Gets the changed drawing.

Definition at line 30 of file DrawingChangeEvent.java.

                                {
        return (Drawing)getSource();
    }

Gets the changed rectangle.

Definition at line 37 of file DrawingChangeEvent.java.

                                               {
        return fRectangle;
    }

Member Data Documentation

Definition at line 17 of file DrawingChangeEvent.java.


The documentation for this class was generated from the following file: