javax.infobus
Interface DataItemChangeListener

All Known Subinterfaces:
DataItemShapeChangeListener

public abstract 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.

See Also:
DataItemChangeManager

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

Method Detail

dataItemValueChanged

public 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

dataItemAdded

public 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

dataItemDeleted

public 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

dataItemRevoked

public 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

rowsetCursorMoved

public 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