com.ibm.as400.util.html
Class ElementEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.ibm.as400.util.html.ElementEvent
All Implemented Interfaces:
Serializable

public class ElementEvent
extends EventObject

The ElementEvent class represents an element event.

See Also:
Serialized Form

Field Summary
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.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Constructor and Description
ElementEvent(Object source, int id)
          Constructs an ElementEvent object.
 
Method Summary
Modifier and Type Method and Description
 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
 

Field Detail

ELEMENT_ADDED

public static final int ELEMENT_ADDED
Event ID indicating that an element has been added.

See Also:
Constant Field Values

ELEMENT_CHANGED

public static final int ELEMENT_CHANGED
Event ID indicating that an element has been changed.

See Also:
Constant Field Values

ELEMENT_REMOVED

public static final int ELEMENT_REMOVED
Event ID indicating that an element has been removed.

See Also:
Constant Field Values
Constructor Detail

ElementEvent

public ElementEvent(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.
Method Detail

getID

public int getID()
Returns the identifier for this event.

Returns:
The identifier for this event.