borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.model
java.lang.Object +----java.util.EventObject +----borland.jbcl.util.DispatchableEvent +----borland.jbcl.model.SelectionEvent +----borland.jbcl.model.GraphSelectionEvent
Variables Constructors Properties Methods
public GraphSelectionEvent(borland.jbcl.model.GraphSelection selection, int change)Constructs a graph-selection event object using the passed selection object and the type of change that occurred to that selection.
Parameters:
public GraphSelectionEvent(borland.jbcl.model.GraphSelection selection, int change, borland.jbcl.model.GraphLocation location)Constructs a graph-selection event object using the passed selection object , the type of change that occurred to that selection, and the location where the change occurred. Such an event object is used when a data object at the specified node changes.
Parameters:
public GraphLocation getLocation()Returns the node where the graph-selection event occurred.
public GraphSelection getSelection()Returns the set of currently selected nodes within the graph.
public void dispatch(java.util.EventListener listener)Calls methods in the listening object passing this graph-selection event object. Which method is called depends on the type of graph-selection event occurred.
Parameters:
protected String paramString()Appends the matrix-selection event object's parameter string to the parameter string of the superclass. The string that is appended is:
",selection=" + selection + ",location=" + location"
See also: borland.jbcl.model.SelectionEvent.paramString()