|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--javax.infobus.DataItemChangeEvent
A data item which implements the DataItemChangeManager interface propagates one of these events to all DataItemChangeListeners that have registered on its addDataItemChangeListener method whenever the data item's data has been modified. The event includes two fields:
If the source and changedItem fields are not equal, then the event conveys information about a change in a data item which is in a collection of data items or is itself such a collection.
getChangedItem()
, Serialized FormMethod Summary | |
java.lang.Object |
getChangedItem()
Returns the DataItem that changed. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Returns a property or metadata information about the change event. |
java.lang.Object |
getSource()
Returns the DataItem which sent the DataItemChangeEvent. |
Methods inherited from class java.util.EventObject |
toString |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public java.lang.Object getSource()
public java.lang.Object getChangedItem()
public java.lang.Object getProperty(java.lang.String propertyName)
Support for properties is optional. null will be returned for unsupported properties.
When this method is invoked, the DataItemChangeEvent in turn calls the get method for either the Map or InfoBusMap provided by the event constructor.
propertyName
- the name of the property to be retrieved. Property
names must not contain the ‘*’ character.
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |