harmonic.mz.event
Class ModelFileEvent
java.lang.Object
|
+--java.util.EventObject
|
+--harmonic.mz.event.ModelFileEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ModelFileEvent
- extends java.util.EventObject
Event type sent by DataManager when tree changes
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
| 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 |
FILE_ADDED
public static int FILE_ADDED
FILE_REMOVED
public static int FILE_REMOVED
FILE_RENAMED
public static int FILE_RENAMED
FILE_SAVED
public static int FILE_SAVED
CURRENT_FILE_CHANGED
public static int CURRENT_FILE_CHANGED
ModelFileEvent
public ModelFileEvent(FileNode node,
int id)
getID
public int getID()
- Returns event id
getModelFile
public FileNode getModelFile()
- Returns (DataNode)getSource() if source is a data node.
For some events source will be the DataManager.