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.
-
addModelChangeListener(ModelChangeListener)
- Adds a ModelChangeListener to the listener list.
-
removeModelChangeListener(ModelChangeListener)
- Removes a ModelChangeListener from the listener list.
addModelChangeListener
public abstract void addModelChangeListener(ModelChangeListener listener)
- Adds a ModelChangeListener to the listener list.
- Parameters:
- listener - The ModelChangeListener to be added.
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