FileDocCategorySizeDatePackage
Model.javaAPI DocAndroid 1.5 API2085Wed May 06 22:42:46 BST 2009com.android.mms.model

Model

public class Model extends Object

Fields Summary
protected ArrayList
mModelChangedObservers
Constructors Summary
Methods Summary
protected voidnotifyModelChanged(boolean dataChanged)

        for (IModelChangedObserver observer : mModelChangedObservers) {
            observer.onModelChanged(this, dataChanged);
        }
    
public voidregisterModelChangedObserver(IModelChangedObserver observer)


        
        if (!mModelChangedObservers.contains(observer)) {
            mModelChangedObservers.add(observer);
            registerModelChangedObserverInDescendants(observer);
        }
    
protected voidregisterModelChangedObserverInDescendants(IModelChangedObserver observer)

        // Dummy method.
    
public voidunregisterAllModelChangedObservers()

        unregisterAllModelChangedObserversInDescendants();
        mModelChangedObservers.clear();
    
protected voidunregisterAllModelChangedObserversInDescendants()

        // Dummy method.
    
public voidunregisterModelChangedObserver(IModelChangedObserver observer)

        mModelChangedObservers.remove(observer);
        unregisterModelChangedObserverInDescendants(observer);
    
protected voidunregisterModelChangedObserverInDescendants(IModelChangedObserver observer)

        // Dummy method.