public class SDMModelAdapter extends Object implements SDMModelListener
SDMModelListener
.Constructor and Description |
---|
SDMModelAdapter()
This constructor does nothing.
|
Modifier and Type | Method and Description |
---|---|
void |
adjustmentFinished(SDMModelEvent event)
Invoked at the end of an adjustment sequence,
when
setAdjusting(false)
is called on the model. |
void |
dataChanged(SDMModelEvent event)
Invoked after the SDM model has changed in such
a way that the SDM view must completely recreate
its graphic objects.
|
void |
linkDestinationChanged(SDMModelEvent event)
Invoked after the destination node of a link has been changed.
|
void |
linkSourceChanged(SDMModelEvent event)
Invoked after the source node of a link has been changed.
|
void |
objectAdded(SDMModelEvent event)
Invoked after nodes and/or links
have been added to the SDM model.
|
void |
objectRemoved(SDMModelEvent event)
Invoked after nodes and/or links
have been removed from the SDM model.
|
public void objectAdded(SDMModelEvent event)
objectAdded
in interface SDMModelListener
event
- The event.public void objectRemoved(SDMModelEvent event)
objectRemoved
in interface SDMModelListener
event
- The event.public void linkSourceChanged(SDMModelEvent event)
linkSourceChanged
in interface SDMModelListener
event
- The event.public void linkDestinationChanged(SDMModelEvent event)
linkDestinationChanged
in interface SDMModelListener
event
- The event.public void dataChanged(SDMModelEvent event)
dataChanged
in interface SDMModelListener
event
- The event.public void adjustmentFinished(SDMModelEvent event)
setAdjusting(false)
is called on the model.adjustmentFinished
in interface SDMModelListener
event
- The event.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.