Package com.ribs
Class RBListBinder.BinderListModel
- java.lang.Object
- 
- javax.swing.AbstractListModel
- 
- com.ribs.RBListBinder.BinderListModel
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- javax.swing.ListModel
 - Enclosing class:
- RBListBinder
 
 public static class RBListBinder.BinderListModel extends javax.swing.AbstractListModelList Model implementation for lists using bind key.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description BinderListModel(RBListBinder aBinder, javax.swing.JList aList)Creates a new binder list model for given list.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfireContentsChanged(java.lang.Object aSource, int index0, int index1)Overrides AbstractListModel implementation to make public.java.lang.ObjectgetElementAt(int anIndex)List model method - returns the key value for the list object at given index.intgetSize()List model method - returns size of binder's list.
 
- 
- 
- 
Constructor Detail- 
BinderListModelpublic BinderListModel(RBListBinder aBinder, javax.swing.JList aList) Creates a new binder list model for given list.
 
- 
 - 
Method Detail- 
fireContentsChangedpublic void fireContentsChanged(java.lang.Object aSource, int index0, int index1)Overrides AbstractListModel implementation to make public.- Overrides:
- fireContentsChangedin class- javax.swing.AbstractListModel
 
 - 
getSizepublic int getSize() List model method - returns size of binder's list.
 - 
getElementAtpublic java.lang.Object getElementAt(int anIndex) List model method - returns the key value for the list object at given index.
 
- 
 
-