|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject oracle.jbo.server.JboEventObject
The event transmitter for JboEvent
instances.
This class carries information about an event from the event's publisher to all its subscribers. This class is used by code generated for events defined by JDeveloper Wizards.
Instances contain a hash table containing name-value pairs to be transmited through the event mechanism.
Instances may be distinguished by their names.
Field Summary | |
protected java.util.Hashtable |
mData
Stores the name-value pairs that this event carries as a payload from the publisher of this event. |
protected java.lang.String |
mName
Name of the event for which this event object is created. |
static NullValue |
nullValue
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
JboEventObject(java.lang.Object source)
Creates an event object. |
|
JboEventObject(java.lang.Object source,
java.lang.String name)
Creates an event object. |
Method Summary | |
boolean |
contains(java.lang.Object value)
Tests for the presence of an entry having the given value in this event object's hash table. |
boolean |
containsKey(java.lang.String name)
Tests for the presence of an entry having the given key in this event object's hash table. |
java.util.Enumeration |
elements()
Enumerates the name-value pairs in this event object's hash table. |
java.lang.Object |
get(java.lang.String name)
Gets a value associated with the given name. |
java.util.Hashtable |
getData()
Creates a copy of the hashtable containing name-value pairs of this event's properties. |
java.lang.Object[] |
getElementsArray()
Constructs an array of the name-value pairs in this event object's hash table. |
java.lang.String |
getName()
Gets this event object's name. |
java.lang.String[] |
getNamesArray()
Constructs an array of the names used as keys in this event object's hash table. |
boolean |
isEmpty()
Tests if this event object's hash table is empty. |
java.util.Enumeration |
names()
Enumerates the names used as keys in this event object's hash table. |
java.lang.Object |
put(java.lang.String name,
java.lang.Object value)
Adds a name-value pair to this event object's hash table. |
java.lang.Object |
remove(java.lang.String name)
Deletes a name-value pair from this event object's hash table. |
void |
setName(java.lang.String name)
Gives this event object a name. |
int |
size()
Counts the name-value pairs in this event object's hash table. |
java.lang.String |
toString()
Gets this event object's name. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static NullValue nullValue
protected java.util.Hashtable mData
protected java.lang.String mName
Constructor Detail |
public JboEventObject(java.lang.Object source)
source
- the object that spawned the event.public JboEventObject(java.lang.Object source, java.lang.String name)
source
- the object that spawned the event.name
- the name of this event.Method Detail |
public java.util.Hashtable getData()
public boolean contains(java.lang.Object value)
value
- an object associated with a name in the hash table.
true
if value
is found.public boolean containsKey(java.lang.String name)
name
- a string to be used as a Hashtable
key.
true
if name
is found.public java.util.Enumeration elements()
public java.lang.Object get(java.lang.String name)
name
- a string to be used as a Hashtable
key.
name
in this event object's hash table.public java.lang.Object[] getElementsArray()
public java.lang.String[] getNamesArray()
public boolean isEmpty()
true
if the hash table is empty.public java.util.Enumeration names()
public java.lang.Object put(java.lang.String name, java.lang.Object value)
name
- a string to be used as a hash table key.value
- an object to be associated with name
.
name
, if any,
or null
otherwise.public java.lang.Object remove(java.lang.String name)
name
- a string to be used as a hash table key.
name
, if any,
or null
otherwise.public int size()
public void setName(java.lang.String name)
name
- a string used as a name.public java.lang.String getName()
public java.lang.String toString()
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.