portal.comp.list
Class ListDataModelAdapter
java.lang.Object
portal.comp.list.ListDataModelAdapter
- All Implemented Interfaces:
- ListDataModel, Model, java.io.Serializable
- Direct Known Subclasses:
- DefaultListDataModel
- public abstract class ListDataModelAdapter
- extends java.lang.Object
- implements ListDataModel
A utility class for data binding. It takes care of listener registration and management
with convenience methods for listener notification, allowing the developer to
completely concentrate on the data binding effort.
- Author:
- bderidder
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListDataModelAdapter
public ListDataModelAdapter()
addListDataModelListener
public final void addListDataModelListener(ListDataModelListener listener)
- Specified by:
addListDataModelListener
in interface ListDataModel
removeListDataModelListener
public final void removeListDataModelListener(ListDataModelListener listener)
- Specified by:
removeListDataModelListener
in interface ListDataModel
notifyItemRemoved
protected final void notifyItemRemoved(StringModel oldValue,
int oldIndex)
notifyItemInserted
protected final void notifyItemInserted(StringModel newValue,
int newIndex)
notifyListCleared
protected final void notifyListCleared()