public class FigureAdapter extends java.lang.Object implements FigureListener
FigureEvents. This class
exists as a convenience for creating FigureListener objects.| Constructor and Description |
|---|
FigureAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
areaInvalidated(FigureEvent e)
Sent when the drawing area used by the figure needs to be repainted.
|
void |
attributeChanged(FigureEvent e)
Sent when an attribute of the figure has changed.
|
void |
figureAdded(FigureEvent e)
Sent when a figure was added to a drawing.
|
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.
|
public void areaInvalidated(FigureEvent e)
FigureListenerareaInvalidated in interface FigureListenerpublic void attributeChanged(FigureEvent e)
FigureListenerattributeChanged in interface FigureListenerpublic void figureAdded(FigureEvent e)
FigureListenerfigureAdded in interface FigureListenerpublic void figureChanged(FigureEvent e)
FigureListenerfigureChanged in interface FigureListenerpublic void figureRemoved(FigureEvent e)
FigureListenerfigureRemoved in interface FigureListenerpublic void figureRequestRemove(FigureEvent e)
FigureListenerfigureRequestRemove in interface FigureListenerpublic void figureHandlesChanged(FigureEvent e)
FigureListenerDrawingViews 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.
figureHandlesChanged in interface FigureListener