org.rosuda.deducer.data
Class RowNamesListModel
java.lang.Object
javax.swing.AbstractListModel
org.rosuda.deducer.data.RowNamesListModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.ListModel
public class RowNamesListModel
- extends javax.swing.AbstractListModel
The default row name model for an ExTable
Row headers are implemented as a jlist nested within
a jscrollpane. Here we have defined them as numbers
1-n where n is the number of rows.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
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 |
RowNamesListModel
public RowNamesListModel()
initHeaders
public void initHeaders(int n)
getSize
public int getSize()
getElementAt
public java.lang.Object getElementAt(int index)
setElementAt
public void setElementAt(int index,
java.lang.Object value)
getMaxNumChar
public int getMaxNumChar()
addNextHeaderNumber
public void addNextHeaderNumber()
refresh
public void refresh()