Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.util.eventing
Class EventObject

java.lang.Object
  extended by oracle.adfnmc.util.eventing.EventObject
Direct Known Subclasses:
ContainerObjectEvent, ELContextEvent, JboEvent, TransactionEvent

public class EventObject
extends java.lang.Object

The root class from which all event state objects shall be derived.

All Events are constructed with a reference to the object, the "source", that is logically deemed to be the object upon which the Event in question initially occurred upon. Adapted from JDK source code


Field Summary
protected  java.lang.Object source
          The object on which the Event initially occurred.
 
Constructor Summary
EventObject(java.lang.Object source)
          Constructs a prototypical Event.
 
Method Summary
 java.lang.Object getSource()
          The object on which the Event initially occurred.
 java.lang.String toString()
          Returns a String representation of this EventObject.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

source

protected transient java.lang.Object source
The object on which the Event initially occurred.

Constructor Detail

EventObject

public EventObject(java.lang.Object source)
Constructs a prototypical Event.

Parameters:
source - The object on which the Event initially occurred.
Throws:
java.lang.IllegalArgumentException - if source is null.
Method Detail

getSource

public java.lang.Object getSource()
The object on which the Event initially occurred.

Returns:
The object on which the Event initially occurred.

toString

public java.lang.String toString()
Returns a String representation of this EventObject.

Overrides:
toString in class java.lang.Object
Returns:
A a String representation of this EventObject.

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.