|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgraph.graph.DefaultGraphSelectionModel
org.jgraph.JGraph.EmptySelectionModel
public static class JGraph.EmptySelectionModel
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jgraph.graph.DefaultGraphSelectionModel |
---|
DefaultGraphSelectionModel.CellPlaceHolder |
Field Summary | |
---|---|
protected static JGraph.EmptySelectionModel |
sharedInstance
Unique shared instance. |
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 | |
---|---|
JGraph.EmptySelectionModel()
A null implementation that constructs an
EmptySelectionModel. |
Method Summary | |
---|---|
void |
addSelectionCells(Object[] cells)
A null implementation that adds nothing. |
void |
removeSelectionCells(Object[] cells)
A null implementation that removes nothing. |
void |
setSelectionCells(Object[] cells)
A null implementation that selects nothing. |
static JGraph.EmptySelectionModel |
sharedInstance()
Returns a shared instance of an empty selection model. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final JGraph.EmptySelectionModel sharedInstance
Constructor Detail |
---|
public JGraph.EmptySelectionModel()
null
implementation that constructs an
EmptySelectionModel.
Method Detail |
---|
public static JGraph.EmptySelectionModel sharedInstance()
public void setSelectionCells(Object[] cells)
null
implementation that selects nothing.
setSelectionCells
in interface GraphSelectionModel
setSelectionCells
in class DefaultGraphSelectionModel
cells
- new selectionpublic void addSelectionCells(Object[] cells)
null
implementation that adds nothing.
addSelectionCells
in interface GraphSelectionModel
addSelectionCells
in class DefaultGraphSelectionModel
cells
- the new path to add to the current selectionpublic void removeSelectionCells(Object[] cells)
null
implementation that removes nothing.
removeSelectionCells
in interface GraphSelectionModel
removeSelectionCells
in class DefaultGraphSelectionModel
cells
- the path to remove from the selection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |