Documentation of 'org.jhotdraw.draw.event.HandleEvent' Java class
HandleEvent
org.jhotdraw.draw.event

Class HandleEvent

  • All Implemented Interfaces:
    java.io.Serializable


    public class HandleEvent
    extends java.util.EventObject
    An EventObject sent to HandleListeners.
    Design Patterns

    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.


    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      HandleEvent(Handle src, java.awt.Rectangle invalidatedArea)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Handle getHandle() 
      java.awt.Rectangle getInvalidatedArea()
      Gets the bounds of the invalidated area on the drawing view.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HandleEvent

        public HandleEvent(Handle src,
                           @Nullable
                           java.awt.Rectangle invalidatedArea)
        Creates a new instance.
    • Method Detail

      • getHandle

        public Handle getHandle()
      • getInvalidatedArea

        @Nullable
        public java.awt.Rectangle getInvalidatedArea()
        Gets the bounds of the invalidated area on the drawing view.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.