org.jhotdraw.draw.event
Interface CompositeFigureListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
DefaultDrawingView.EventHandler

public interface CompositeFigureListener
extends java.util.EventListener

Interface implemented by observers of CompositeFigure.


Design Patterns

Observer
Changes in the composition of a composite figure can be observed.
Subject: CompositeFigure; Observer: CompositeFigureListener; Event: CompositeFigureEvent.


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

Method Summary
 void figureAdded(CompositeFigureEvent e)
          Sent when a figure was added.
 void figureRemoved(CompositeFigureEvent e)
          Sent when a figure was removed.
 

Method Detail

figureAdded

void figureAdded(CompositeFigureEvent e)
Sent when a figure was added.


figureRemoved

void figureRemoved(CompositeFigureEvent e)
Sent when a figure was removed.