org.jgraph
Class JGraph.EmptySelectionModel
java.lang.Object
|
+--org.jgraph.graph.DefaultGraphSelectionModel
|
+--org.jgraph.JGraph.EmptySelectionModel
- All Implemented Interfaces:
- Cloneable, GraphSelectionModel, Serializable
- Enclosing class:
- JGraph
- public static class JGraph.EmptySelectionModel
- extends DefaultGraphSelectionModel
EmptySelectionModel
is a GraphSelectionModel
that does not allow anything to be selected.
Warning: Serialized objects of this class will not be
compatible with future Swing releases. The current serialization support
is appropriate for short term storage or RMI between applications running
the same version of Swing. A future release of Swing will provide support
for long term persistence.
- See Also:
- Serialized Form
Methods inherited from class org.jgraph.graph.DefaultGraphSelectionModel |
addGraphSelectionListener, addPropertyChangeListener, addSelectionCell, clearSelection, clone, deselect, fireValueChanged, getListeners, getSelectables, getSelectedChildCount, getSelectionCell, getSelectionCells, getSelectionCount, getSelectionMode, isCellSelected, isChildrenSelectable, isChildrenSelectable, isChildrenSelected, isSelectionEmpty, notifyCellChange, removeGraphSelectionListener, removePropertyChangeListener, removeSelectionCell, select, setChildrenSelectable, setSelectedChildCount, setSelectionCell, setSelectionMode |
sharedInstance
protected static final JGraph.EmptySelectionModel sharedInstance
- Unique shared instance.
JGraph.EmptySelectionModel
public JGraph.EmptySelectionModel()
- A
null
implementation that constructs an
EmptySelectionModel.
sharedInstance
public static JGraph.EmptySelectionModel sharedInstance()
- Returns a shared instance of an empty selection model.
setSelectionCells
public void setSelectionCells(Object[] cells)
- A
null
implementation that selects nothing.
- Overrides:
setSelectionCells
in class DefaultGraphSelectionModel
- Following copied from class:
org.jgraph.graph.DefaultGraphSelectionModel
- Parameters:
paths
- new selection
addSelectionCells
public void addSelectionCells(Object[] cells)
- A
null
implementation that adds nothing.
- Overrides:
addSelectionCells
in class DefaultGraphSelectionModel
- Following copied from class:
org.jgraph.graph.DefaultGraphSelectionModel
- Parameters:
path
- the new path to add to the current selection
removeSelectionCells
public void removeSelectionCells(Object[] cells)
- A
null
implementation that removes nothing.
- Overrides:
removeSelectionCells
in class DefaultGraphSelectionModel
- Following copied from class:
org.jgraph.graph.DefaultGraphSelectionModel
- Parameters:
path
- the path to remove from the selection
Copyright (C) 2001-2004 JGraph.org. All rights reserved.