JHotDraw 7.0.9

org.jhotdraw.draw
Interface FigureListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
AbstractConnectionHandle, AbstractHandle, AttributeFieldEventHandler, BezierControlPointHandle, BezierNodeHandle, BezierOutlineHandle, BezierScaleHandle, BidirectionalConnectionTool, BoundsOutlineHandle, CloseHandle, ConnectionEndHandle, ConnectionStartHandle, ConnectorHandle, DefaultDrawing.FigureHandler, FigureAdapter, FontSizeHandle, LabelFigure, LocatorHandle, MoveHandle, NullHandle, QuadTreeDrawing.FigureHandler, RotateHandle, RoundRectangleRadiusHandle, SVGPathOutlineHandle, SVGRectRadiusHandle, TextOverflowHandle, TriangleRotationHandler

public interface FigureListener
extends java.util.EventListener

Listener interested in Figure changes.

Version:
1.1 2007-02-09 Method figureHandlesChanged added.
1.0 2003-12-01 Derived from JHotDraw 5.4b1.
Author:
Werner Randelshofer

Method Summary
 void figureAdded(FigureEvent e)
          Sent when a figure was added to a drawing.
 void figureAreaInvalidated(FigureEvent e)
          Sent when the drawing area used by the figure needs to be repainted.
 void figureAttributeChanged(FigureEvent e)
          Sent when an attribute of the figure has changed.
 void figureChanged(FigureEvent e)
          Sent when the geometry (for example the bounds) of the figure has changed.
 void figureHandlesChanged(FigureEvent e)
          Sent when handles of a Figure have been added, removed or replaced.
 void figureRemoved(FigureEvent e)
          Sent when a figure was removed from a drawing.
 void figureRequestRemove(FigureEvent e)
          Sent when the figure requests to be removed from a drawing.
 

Method Detail

figureAreaInvalidated

void figureAreaInvalidated(FigureEvent e)
Sent when the drawing area used by the figure needs to be repainted.


figureAttributeChanged

void figureAttributeChanged(FigureEvent e)
Sent when an attribute of the figure has changed.


figureHandlesChanged

void figureHandlesChanged(FigureEvent e)
Sent when handles of a Figure have been added, removed or replaced.

DrawingViews listen to this event to repopulate the Handles.

A Figure should not fire this event, if just the state or the location of Handle has changed.


figureChanged

void figureChanged(FigureEvent e)
Sent when the geometry (for example the bounds) of the figure has changed.


figureAdded

void figureAdded(FigureEvent e)
Sent when a figure was added to a drawing.


figureRemoved

void figureRemoved(FigureEvent e)
Sent when a figure was removed from a drawing.


figureRequestRemove

void figureRequestRemove(FigureEvent e)
Sent when the figure requests to be removed from a drawing.


Copyright 1996-2007 (c) JHotDraw.org.
Some rights reserved.