borland Packages  Class Hierarchy  jbcl.model Package  Index 

GraphSelectionListener interface

java.util.EventListener
   +----borland.jbcl.model.GraphSelectionListener

About the GraphSelectionListener interface

Methods  

Implemented by GraphSelectionAdapter, GraphSelectionMulticaster

This interface provides the methods to respond to graph-selection events. Graph-selection event objects are passed to these methods. Which method receives the event object depends on the type of the event. For example, if the event id is SELECTION_CHANGED, the event object is passed to the the selectionChanged() method, which then responds to the event.

The two methods to implement are the selectionChanged() method, which is called when the set of selected nodes changes, and the selectionItemChanged(), which is called when the a particular node changes.


GraphSelectionListener methods

Methods defined in this interface


GraphSelectionListener methods

selectionChanged(borland.jbcl.model.GraphSelectionEvent)

  void selectionChanged(borland.jbcl.model.GraphSelectionEvent e)
Responds to a change in the set of selected nodes.

Parameters:

e
The graph-selection event object.

selectionItemChanged(borland.jbcl.model.GraphSelectionEvent)

  void selectionItemChanged(borland.jbcl.model.GraphSelectionEvent e)
Responds to a change of a particular node in the set of selected nodes.

Parameters:

e
The graph-selection event object.