edu.princeton.toy
protected static class TStdoutPane.ListModel extends javax.swing.AbstractListModel
Constructor and Description |
---|
TStdoutPane.ListModel()
Constructs a new ListModel.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getElementAt(int index) |
int |
getSize()
Returns the number of elements in the model.
|
protected void |
setData(TWordBuffer buffer)
Updates the ListModel's data to conform with the provided TWordBuffer.
|
public java.lang.Object getElementAt(int index)
public int getSize()
protected void setData(TWordBuffer buffer)
buffer
- A TWordBuffer containing the new data.