GoGraph
v1.0


gograph.base.graph
Class GGNoSelectionModel

java.lang.Object
  |
  +--org.jgraph.graph.DefaultGraphSelectionModel
        |
        +--gograph.base.graph.GGNoSelectionModel
All Implemented Interfaces:
java.lang.Cloneable, org.jgraph.graph.GraphSelectionModel, java.io.Serializable

public class GGNoSelectionModel
extends org.jgraph.graph.DefaultGraphSelectionModel

A graph selection model that prevents any selection. Used in execution graph.

See Also:
GoGraph, Serialized Form

Field Summary
 
Fields inherited from class org.jgraph.graph.DefaultGraphSelectionModel
cellStates, changeSupport, childrenSelectable, graph, listenerList, SELECTED, selection, SELECTION_MODE_PROPERTY, selectionMode, UNSELECTED
 
Fields inherited from interface org.jgraph.graph.GraphSelectionModel
MULTIPLE_GRAPH_SELECTION, SINGLE_GRAPH_SELECTION
 
Constructor Summary
GGNoSelectionModel()
          Creates a new instance of GGNoSelectionModel
 
Method Summary
 java.lang.Object[] getSelectables()
          Returns the cells that are currently selectable.
protected  boolean select(java.util.List list, java.lang.Object cell)
          Selects a single cell and updates all datastructures.
 
Methods inherited from class org.jgraph.graph.DefaultGraphSelectionModel
addCellStateKeysToChange, addGraphSelectionListener, addPropertyChangeListener, addSelectionCell, addSelectionCells, clearSelection, clone, deselect, fireValueChanged, getListeners, getSelectedChildCount, getSelectionCell, getSelectionCells, getSelectionCount, getSelectionMode, isCellSelected, isChildrenSelectable, isChildrenSelectable, isChildrenSelected, isSelectionEmpty, notifyCellChange, removeGraphSelectionListener, removePropertyChangeListener, removeSelectionCell, removeSelectionCells, setChildrenSelectable, setSelectedChildCount, setSelectionCell, setSelectionCells, setSelectionMode
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GGNoSelectionModel

public GGNoSelectionModel()
Creates a new instance of GGNoSelectionModel

Method Detail

getSelectables

public java.lang.Object[] getSelectables()
Returns the cells that are currently selectable.

Specified by:
getSelectables in interface org.jgraph.graph.GraphSelectionModel
Overrides:
getSelectables in class org.jgraph.graph.DefaultGraphSelectionModel
Returns:
Always null.

select

protected boolean select(java.util.List list,
                         java.lang.Object cell)
Selects a single cell and updates all datastructures. No listeners are notified. Override this method to control individual cell selection.

Overrides:
select in class org.jgraph.graph.DefaultGraphSelectionModel
Parameters:
list - Selection datastructure.
cell - Selected cell.
Returns:
Always false.

GoGraph
v1.0


Copyright (C) 2003 Stewe Frei. All rights reserved.