org.objectweb.jac.aspects.gui
Class ListModel
java.lang.Object
javax.swing.AbstractListModel
org.objectweb.jac.aspects.gui.LessAbstractListModel
org.objectweb.jac.aspects.gui.ListModel
- All Implemented Interfaces:
- CollectionModel, CollectionUpdate, ListModel, Model, ObjectUpdate, Serializable
- public class ListModel
- extends LessAbstractListModel
A generic list data model.
- See Also:
- Serialized Form
Methods inherited from class org.objectweb.jac.aspects.gui.LessAbstractListModel |
addObject, addObject, close, getCollection, getElementAt, getObject, getRowCount, getSize, indexOf, isCellEditable, objectUpdated, onAdd, onChange, onRemove, setNullLabel, sort, unregisterViews |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListModel
public ListModel(CollectionItem collection,
Object substance)
- Construct a new list model.
- Parameters:
collection
- the substance collectionsubstance
- the object that holds the collection's value