public abstract class

Observable

extends Object
java.lang.Object
   ↳ com.android.mms.transaction.Observable
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

An interface to represent the state of an observable Transaction.

Summary

Public Constructors
Observable()
Public Methods
void attach(Observer observer)
Attach an observer to this object.
void detach(Observer observer)
Detach an observer from this object.
abstract TransactionState getState()
This method is implemented by the observable to represent its current state.
void notifyObservers()
Notify all observers that a status change has occurred.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Observable ()

Public Methods

public void attach (Observer observer)

Attach an observer to this object.

Parameters
observer The observer object to be attached to.

public void detach (Observer observer)

Detach an observer from this object.

Parameters
observer The observer object to be detached from.

public abstract TransactionState getState ()

This method is implemented by the observable to represent its current state.

Returns
  • A TransactionState object.

public void notifyObservers ()

Notify all observers that a status change has occurred.