JHotDraw 7.4.1

org.jhotdraw.draw.event
Interface HandleListener

All Superinterfaces:
java.util.EventListener

public interface HandleListener
extends java.util.EventListener

Interface implemented by observers of Handles.


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.


Version:
$Id: HandleListener.java 604 2010-01-09 12:00:29Z rawcoder $
Author:
Werner Randelshofer

Method Summary
 void areaInvalidated(HandleEvent e)
          Sent when an area of the drawing view needs to be repainted.
 void handleRequestRemove(HandleEvent e)
          Sent when requesting to remove a handle.
 void handleRequestSecondaryHandles(HandleEvent e)
          Sent when requesting to add secondary handles.
 

Method Detail

areaInvalidated

void areaInvalidated(HandleEvent e)
Sent when an area of the drawing view needs to be repainted.


handleRequestRemove

void handleRequestRemove(HandleEvent e)
Sent when requesting to remove a handle.


handleRequestSecondaryHandles

void handleRequestSecondaryHandles(HandleEvent e)
Sent when requesting to add secondary handles.


Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.