All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.ibm.beans.util.Model

public interface interface Model
extends Collection
The Model interface describes a model in a model-view-controller approach to a user interface. In a model-view-controller approach, the model represents the data, the view represents the GUI shown to the user, and the controller represents the logic that needs to be done.

This generic model provides basic collection access to the data, plus the model must be able to fire ModelEvent's to notify listeners when the data in the model changes.


Method Index

 o addModelChangeListener(ModelChangeListener)
Adds a ModelChangeListener to the listener list.
 o removeModelChangeListener(ModelChangeListener)
Removes a ModelChangeListener from the listener list.

Methods

 o addModelChangeListener
 public abstract void addModelChangeListener(ModelChangeListener listener)
Adds a ModelChangeListener to the listener list.

Parameters:
listener - The ModelChangeListener to be added.
 o removeModelChangeListener
 public abstract void removeModelChangeListener(ModelChangeListener listener)
Removes a ModelChangeListener from the listener list.

Parameters:
listener - The ModelChangeListener to be removed.

All Packages  Class Hierarchy  This Package  Previous  Next  Index