com.sap.tc.cmi.util

Interface ICMIObservableList

All Superinterfaces:
Collection, Iterable, List
All Known Implementing Classes:
CMIAbstractObservableList

public interface ICMIObservableList
extends List

List that informs about changes. See documentation of listener interface and event object for more information about the available notifications. This type can be called, extended or implemented by applications or frameworks using CMI.

Type Classification Type Classification:

This interface is part of the Common Model Interface and is intended to be implemented by applications.


Method Summary
 void addChangeListener(ICMIObservableListChangeListener listener)
          Registers the given listener.
 void removeChangeListener(ICMIObservableListChangeListener listener)
          Unregisters the given listener.
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

addChangeListener

void addChangeListener(ICMIObservableListChangeListener listener)
Registers the given listener. The listener will be notified about any modification of this list.


removeChangeListener

void removeChangeListener(ICMIObservableListChangeListener listener)
Unregisters the given listener.

Access Rights

This class can be accessed from:


SC DC
[sap.com] FRAMEWORK [sap.com] tc/cmi
[sap.com] FRAMEWORK [sap.com] tc/cm/ejb/api


Copyright 2010 SAP AG Complete Copyright Notice