gov.usda.gdpc.browser
Class TableRowHeaderListModel

java.lang.Object
  extended byjavax.swing.AbstractListModel
      extended bygov.usda.gdpc.browser.TableRowHeaderListModel
All Implemented Interfaces:
javax.swing.ListModel, java.io.Serializable

public class TableRowHeaderListModel
extends javax.swing.AbstractListModel

Author:
terryc
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
TableRowHeaderListModel(java.lang.Object[] list)
          TableRowHeaderListModel Constructor.
 
Method Summary
 java.lang.Object getElementAt(int index)
          Returns the value at the specified index.
 int getSize()
          Returns the length of the list.
 
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

TableRowHeaderListModel

public TableRowHeaderListModel(java.lang.Object[] list)
TableRowHeaderListModel Constructor.

Parameters:
list - list of row headers
Method Detail

getElementAt

public java.lang.Object getElementAt(int index)
Returns the value at the specified index.

Parameters:
index - the requested index
Returns:
the value at index

getSize

public int getSize()
Returns the length of the list.

Returns:
the length of the list