public class ElementEvent extends EventObject
Modifier and Type | Field and Description |
---|---|
static int |
ELEMENT_ADDED
Event ID indicating that an element has been added.
|
static int |
ELEMENT_CHANGED
Event ID indicating that an element has been changed.
|
static int |
ELEMENT_REMOVED
Event ID indicating that an element has been removed.
|
source
Constructor and Description |
---|
ElementEvent(Object source,
int id)
Constructs an ElementEvent object.
|
Modifier and Type | Method and Description |
---|---|
int |
getID()
Returns the identifier for this event.
|
getSource, toString
public static final int ELEMENT_ADDED
public static final int ELEMENT_CHANGED
public static final int ELEMENT_REMOVED
public ElementEvent(Object source, int id)
source
- The object where the event originated.id
- The event identifier.