com.gomjabbar.graph.swing
Class GraphSelectionModel
java.lang.Object
|
+--com.gomjabbar.graph.swing.GraphSelectionModel
- public class GraphSelectionModel
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SINGLE_SELECTION
public static final boolean SINGLE_SELECTION
MULTIPLE_SELECTION
public static final boolean MULTIPLE_SELECTION
GraphSelectionModel
public GraphSelectionModel(JGraphContainer parent,
boolean multiple_selection)
allowsMultipleSelection
public boolean allowsMultipleSelection()
setParent
protected void setParent(JGraphContainer parent)
getParent
public JGraphContainer getParent()
addGraphListener
public void addGraphListener(GraphListener gl)
removeGraphListener
public void removeGraphListener(GraphListener gl)
setSelected
public void setSelected(java.lang.Object item,
boolean selected)
setSelected
public void setSelected(java.lang.Object[] items,
boolean selected)
getSelectedItems
public java.lang.Object[] getSelectedItems()
isSelected
public boolean isSelected(java.lang.Object item)