|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--java.beans.PropertyChangeEvent
|
+--harmonic.mz.event.NodeEvent
This object is sent when a tree node changes in any way
| Field Summary | |
static int |
ADDED
Node has been added |
static int |
DEREFERENCED
Node has been unpointed from another |
static int |
DESELECTED
Node has been un-selected |
static int |
LAST_EVENT
Start extension event ID's after this |
DataNode |
node
Node sending the event |
java.util.Vector |
path
List of nodes that propogated event |
static int |
POST_VALIDATE
Node has been validated |
static int |
PRE_VALIDATE
Node will be validated |
DataNode |
producer
Original node that was changed (this will not change as event is propogated from listener to listener) |
static int |
REFERENCED
Node has been pointed to another |
static int |
REMOVED
Node has been removed |
static int |
RENAME_IN_GUI
UI should start a renamer |
static int |
RENAMED
Node has been renamed |
static int |
REPARENTED
Node has been reparented |
static int |
SELECTED
Node has been selected |
static int |
SHOW_IN_GUI
UI should make visible |
static int |
TAGGED
Node has been tagged |
static int |
TRANSFORMED
Node has been transformed |
static int |
TREE_REBUILT
Uncommonly big change to tree, as when a file is opened. |
static int |
VALUE_CHANGED
Node's value has been changed |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
NodeEvent(DataNode producer,
DataNode node,
int id)
Create a node event |
|
| Method Summary | |
int |
getID()
Return event id |
DataNode |
getNode()
Return sending node |
java.util.Vector |
getPath()
Return progation path |
DataNode |
getProducer()
Return originator of event |
| Methods inherited from class java.beans.PropertyChangeEvent |
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int REMOVED
public static final int ADDED
public static final int VALUE_CHANGED
public static final int RENAMED
public static final int REFERENCED
public static final int DEREFERENCED
public static final int SELECTED
public static final int DESELECTED
public static final int REPARENTED
public static final int TRANSFORMED
public static final int PRE_VALIDATE
public static final int POST_VALIDATE
public static final int RENAME_IN_GUI
public static final int SHOW_IN_GUI
public static final int TAGGED
public static final int TREE_REBUILT
public static final int LAST_EVENT
public DataNode producer
public DataNode node
public java.util.Vector path
| Constructor Detail |
public NodeEvent(DataNode producer,
DataNode node,
int id)
| Method Detail |
public int getID()
public java.util.Vector getPath()
public DataNode getNode()
public DataNode getProducer()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||