protected class AbstractCompositeFigure.EventHandler extends FigureAdapter implements javax.swing.event.UndoableEditListener, java.io.Serializable
Modifier | Constructor and Description |
---|---|
protected |
EventHandler() |
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 |
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.
|
void |
undoableEditHappened(javax.swing.event.UndoableEditEvent e) |
figureHandlesChanged
public void figureRequestRemove(FigureEvent e)
FigureListener
figureRequestRemove
in interface FigureListener
figureRequestRemove
in class FigureAdapter
public void figureChanged(FigureEvent e)
FigureListener
figureChanged
in interface FigureListener
figureChanged
in class FigureAdapter
public void areaInvalidated(FigureEvent e)
FigureListener
areaInvalidated
in interface FigureListener
areaInvalidated
in class FigureAdapter
public void undoableEditHappened(javax.swing.event.UndoableEditEvent e)
undoableEditHappened
in interface javax.swing.event.UndoableEditListener
public void attributeChanged(FigureEvent e)
FigureListener
attributeChanged
in interface FigureListener
attributeChanged
in class FigureAdapter
public void figureAdded(FigureEvent e)
FigureListener
figureAdded
in interface FigureListener
figureAdded
in class FigureAdapter
public void figureRemoved(FigureEvent e)
FigureListener
figureRemoved
in interface FigureListener
figureRemoved
in class FigureAdapter