public class NetSelectionListener extends java.lang.Object implements GraphSelectionListener
Constructor and Description |
---|
NetSelectionListener(GraphSelectionModel model) |
Modifier and Type | Method and Description |
---|---|
void |
forceActionUpdate() |
void |
publishState(GraphSelectionModel model,
GraphSelectionEvent event)
This method interrogates the selected cells suppled with the
model specified,
and based on the state of the selection set, will send events to subscribers that have asked for
notification of the selection being in a particular state of interest. |
void |
valueChanged(GraphSelectionEvent event)
Called whenever the value of the selection changes.
|
public NetSelectionListener(GraphSelectionModel model)
public void valueChanged(GraphSelectionEvent event)
GraphSelectionListener
valueChanged
in interface GraphSelectionListener
event
- the event that characterizes the change.public void forceActionUpdate()
public void publishState(GraphSelectionModel model, GraphSelectionEvent event)
model
specified,
and based on the state of the selection set, will send events to subscribers that have asked for
notification of the selection being in a particular state of interest.model
-