com.ibm.as400.util.html
Class ElementEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.ibm.as400.util.html.ElementEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ElementEvent
- extends java.util.EventObject
The ElementEvent class represents an element event.
- See Also:
- Serialized Form
Field Summary |
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. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
ElementEvent(java.lang.Object source,
int id)
Constructs an ElementEvent object. |
Method Summary |
int |
getID()
Returns the identifier for this event. |
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 |
ELEMENT_ADDED
public static final int ELEMENT_ADDED
- Event ID indicating that an element has been added.
ELEMENT_CHANGED
public static final int ELEMENT_CHANGED
- Event ID indicating that an element has been changed.
ELEMENT_REMOVED
public static final int ELEMENT_REMOVED
- Event ID indicating that an element has been removed.
ElementEvent
public ElementEvent(java.lang.Object source,
int id)
- Constructs an ElementEvent object. It uses the specified source and ID.
- Parameters:
source
- The object where the event originated.id
- The event identifier.
getID
public int getID()
- Returns the identifier for this event.
- Returns:
- The identifier for this event.