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.AbstractListModel
List Model implementation for lists using bind key.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BinderListModel(RBListBinder aBinder, javax.swing.JList aList)
Creates a new binder list model for given list.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Constructor Detail
-
BinderListModel
public 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.- Overrides:
fireContentsChanged
in classjavax.swing.AbstractListModel
-
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.
-
-