public class HandleEvent
extends java.util.EventObject
EventObject
sent to HandleListener
s.
Observer
State changes of handles can be observed by other objects. Specifically
DrawingView
observes area invalidations and remove requests of
handles.
Subject: Handle
; Observer: HandleListener
; Event:
HandleEvent
; Concrete Observer: DrawingView
.
Constructor and Description |
---|
HandleEvent(Handle src,
java.awt.Rectangle invalidatedArea)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Handle |
getHandle() |
java.awt.Rectangle |
getInvalidatedArea()
Gets the bounds of the invalidated area on the drawing view.
|