JAC project
AOPSYS
CEDRIC & LIP6 labs

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

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
ListModel(CollectionItem collection, Object substance)
          Construct a new list model.
 
Methods inherited from class org.objectweb.jac.aspects.gui.LessAbstractListModel
addObject, addObject, close, getCollection, getElementAt, getObject, getRowCount, getSize, indexOf, isCellEditable, objectUpdated, onAdd, onChange, onRemove, sort, unregisterViews
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListModel

public ListModel(CollectionItem collection,
                 Object substance)
Construct a new list model.

Parameters:
collection - the substance collection
substance - the object that holds the collection's value

Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli