org.rosuda.klimt
Class NodeMarker
java.lang.Object
org.rosuda.ibase.Notifier
org.rosuda.klimt.NodeMarker
public class NodeMarker
- extends Notifier
NodeMarker - marker specific for nodes. currently it supports selection of a single node
|
Method Summary |
SNode |
getNode()
retrieve currently selected node |
void |
setNode(SNode n)
change currently selected node (and notify dependent objects if real change occured) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NM_Change
public static final int NM_Change
- event sent on change
- See Also:
- Constant Field Values
currentNode
protected SNode currentNode
- currently selected node or
null if none
NodeMarker
public NodeMarker()
getNode
public SNode getNode()
- retrieve currently selected node
setNode
public void setNode(SNode n)
- change currently selected node (and notify dependent objects if real change occured)
- Parameters:
n - new node or null if no node should be selected