borland Packages  Class Hierarchy  jbcl.model Package  Index 

NullGraphSelection class

java.lang.Object
   +----borland.jbcl.model.NullGraphSelection

About the NullGraphSelection class

Properties  Methods  Event Listeners

Implements GraphSelection, WritableGraphSelection, Serializable

NullGraphSelection is an implementation of the WritableGraphSelection interface that has an empty set of selected nodes. All the methods are implemented with empty bodies. The count property always has a value of 0, and the all property returns an empty array of selected nodes.


NullGraphSelection properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.lang.Object

NullGraphSelection methods

Methods implemented in this class

Methods implemented in java.lang.Object

NullGraphSelection event listeners


NullGraphSelection properties

all

 public GraphLocation[] getAll()
Returns any empty array of selected nodes.

count

 public int getCount()
Returns 0, the number of selected nodes.

NullGraphSelection event listeners

This class is a source for the following event sets. For information on the JBCL event sets, see Events in JBCL.

selection

 public void addSelectionListener(borland.jbcl.model.GraphSelectionListener listener)
 public void removeSelectionListener(borland.jbcl.model.GraphSelectionListener listener)