All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface javax.infobus.DataItemChangeListener

public interface DataItemChangeListener
Recipients of data items may optionally implement DataItemChangeListener so that they can register with a data item's optional DateItemChangeManager interface. A data item that implements DataItemChangeManager sends change notifications as DataItemChangeEvents its data changes. Listeners register via the DataItemChangeManager's addDataItemChangeListener method.

Version:
$Revision: 1.7 $ $Date: 24 Feb 1998 17:04:22 $
See Also:
DataItemChangeManager

Method Index

 o dataItemAdded(DataItemAddedEvent)
Indicates that a new item was added to an aggregate data item (ArrayAccess, a JDK Collection, etc).
 o dataItemDeleted(DataItemDeletedEvent)
Indicates that an item was deleted from an aggregate data item (ArrayAccess, a JDK Collection, etc).
 o dataItemRevoked(DataItemRevokedEvent)
Indicates that an item (and its sub-items, if any) has been revoked, and is temporarily unavailable.
 o dataItemValueChanged(DataItemValueChangedEvent)
Indicates a changed value in the data item.
 o rowsetCursorMoved(RowsetCursorMovedEvent)
Indicates that the cursor for a RowsetAccess item has changed.

Methods

 o dataItemValueChanged
 public abstract void dataItemValueChanged(DataItemValueChangedEvent event)
Indicates a changed value in the data item. A reference to the data item that changed can be obtained from the event.

Parameters:
event - contains change information
 o dataItemAdded
 public abstract void dataItemAdded(DataItemAddedEvent event)
Indicates that a new item was added to an aggregate data item (ArrayAccess, a JDK Collection, etc). A reference to the data item that was added, and a reference to the one that gained it, can be obtained from the event.

Parameters:
event - contains details of the addition
 o dataItemDeleted
 public abstract void dataItemDeleted(DataItemDeletedEvent event)
Indicates that an item was deleted from an aggregate data item (ArrayAccess, a JDK Collection, etc). A reference to the data item that was deleted, and a reference to the one that lost it, can be obtained from the event.

Parameters:
event - contains details of the deletion
 o dataItemRevoked
 public abstract void dataItemRevoked(DataItemRevokedEvent event)
Indicates that an item (and its sub-items, if any) has been revoked, and is temporarily unavailable. A reference to the data item that was revoked can be obtained from the event.

Parameters:
event - contains details of the revoked data
 o rowsetCursorMoved
 public abstract void rowsetCursorMoved(RowsetCursorMovedEvent event)
Indicates that the cursor for a RowsetAccess item has changed. A reference to the rowset data item can be obtained from the event.

Parameters:
event - contains details of the cursor move

All Packages  Class Hierarchy  This Package  Previous  Next  Index