Ribs API

com.ribs
Class RBListBinder.BinderListModel

java.lang.Object
  extended byjavax.swing.AbstractListModel
      extended bycom.ribs.RBListBinder.BinderListModel
All Implemented Interfaces:
javax.swing.ListModel, java.io.Serializable
Enclosing class:
RBListBinder

public static class RBListBinder.BinderListModel
extends javax.swing.AbstractListModel

List Model implementation for lists using bind key.

See Also:
Serialized Form

Constructor Summary
RBListBinder.BinderListModel(RBListBinder aBinder, javax.swing.JList aList)
          Creates a new binder list model for given list.
 
Method Summary
 void fireContentsChanged(java.lang.Object aSource, int index0, int index1)
          Overrides AbstractListModel implementation to make public.
 java.lang.Object getElementAt(int anIndex)
          List model method - returns the key value for the list object at given index.
 int getSize()
          List model method - returns size of binder's list.
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RBListBinder.BinderListModel

public RBListBinder.BinderListModel(RBListBinder aBinder,
                                    javax.swing.JList aList)
Creates a new binder list model for given list.

Method Detail

fireContentsChanged

public void fireContentsChanged(java.lang.Object aSource,
                                int index0,
                                int index1)
Overrides AbstractListModel implementation to make public.


getSize

public int getSize()
List model method - returns size of binder's list.


getElementAt

public java.lang.Object getElementAt(int anIndex)
List model method - returns the key value for the list object at given index.


Ribs API.