fr.inria.ketuk
Class XEditEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--fr.inria.ketuk.XEditEvent
All Implemented Interfaces:
java.io.Serializable

public class XEditEvent
extends java.util.EventObject

An event representing an editing operation occuring on a DOM Node

Author:
Claude Pasquier
See Also:
Serialized Form

Field Summary
static int ADDED
          Indicates that a node has to be added
static int CHANGED
          Indicates that a node has to be changed
static int END
          Indicates the end of an updating process
static int REMOVED
          Indicates that a node has to be removed
static int SELECTED
          Indicates that a node is selected
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
XEditEvent(java.lang.Object o)
          Default constructor
XEditEvent(java.lang.Object o, org.w3c.dom.Node n, int eventType)
          A constructor using a node and an event type as parameters
 
Method Summary
 int getEventType()
          The event's type
 org.w3c.dom.Node getSourceNode()
          The concerned node
 
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

SELECTED

public static int SELECTED
Indicates that a node is selected

CHANGED

public static int CHANGED
Indicates that a node has to be changed

REMOVED

public static int REMOVED
Indicates that a node has to be removed

ADDED

public static int ADDED
Indicates that a node has to be added

END

public static int END
Indicates the end of an updating process
Constructor Detail

XEditEvent

public XEditEvent(java.lang.Object o)
Default constructor

XEditEvent

public XEditEvent(java.lang.Object o,
                  org.w3c.dom.Node n,
                  int eventType)
A constructor using a node and an event type as parameters
Method Detail

getEventType

public int getEventType()
The event's type

getSourceNode

public org.w3c.dom.Node getSourceNode()
The concerned node