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

      Fields 
      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

      Constructors 
      Constructor and Description
      ElementEvent(java.lang.Object source, int id)
      Constructs an ElementEvent object.
    • Method Summary

      Methods 
      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(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.
    >
    • Method Detail

      • getID

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