org.beanfabrics.swing.list
Class BnListModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by org.beanfabrics.swing.list.BnListModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.ListModel

public class BnListModel
extends javax.swing.AbstractListModel

The BnListModel is a ListModel that decorates a IListPM

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
BnListModel(IListPM listCell, CellConfig cellConfig)
           
 
Method Summary
 void dismiss()
          Disconnect this object from the underlying IListPM.
 CellConfig getCellConfig()
           
 java.lang.Object getElementAt(int index)
           
 IListPM getListCell()
           
 int getSize()
           
 
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

BnListModel

public BnListModel(IListPM listCell,
                   CellConfig cellConfig)
Method Detail

dismiss

public void dismiss()
Disconnect this object from the underlying IListPM.


getCellConfig

public CellConfig getCellConfig()

getElementAt

public java.lang.Object getElementAt(int index)

getSize

public int getSize()

getListCell

public IListPM getListCell()