|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--flatscape.util.SelectionMonitor
This class listens for events about changes to the selection property of the user element.
If the selection is changed, the new selection is set using the
setSelection
of the AbstractViewer.
| Constructor Summary | |
SelectionMonitor(AbstractViewer viewer)
|
|
| Method Summary | |
void |
documentAdded(java.lang.String name,
org.w3c.dom.Document document)
Called by the repository when a document is added. |
void |
documentRemoved(java.lang.String name,
org.w3c.dom.Document document)
Called by the repository when a document is removed |
void |
nodeAdded(org.w3c.dom.Node node)
Called by the repository when a subtree is added |
void |
nodeRemoved(org.w3c.dom.Node node)
Called by the repository when a subtree is delete |
void |
nodeValueSet(org.w3c.dom.Node node,
java.lang.String value,
java.lang.String oldValue)
Called by the repository when a node value is set (added or changed) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SelectionMonitor(AbstractViewer viewer)
| Method Detail |
public void nodeAdded(org.w3c.dom.Node node)
nodeAdded in interface ElementListenernode - public void nodeRemoved(org.w3c.dom.Node node)
nodeRemoved in interface ElementListener
public void nodeValueSet(org.w3c.dom.Node node,
java.lang.String value,
java.lang.String oldValue)
nodeValueSet in interface ElementListener
public void documentAdded(java.lang.String name,
org.w3c.dom.Document document)
documentAdded in interface DocumentListener
public void documentRemoved(java.lang.String name,
org.w3c.dom.Document document)
documentRemoved in interface DocumentListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||