public class SoundingObListModel
extends javax.swing.AbstractListModel
| Constructor and Description |
|---|
SoundingObListModel()
Constructs from nothing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSounding(SoundingOb sounding)
Adds a sounding observation to the list.
|
void |
clearSoundings()
Clears all sounding observations from the list.
|
java.lang.Object |
getElementAt(int index)
Returns the sounding at the given index.
|
int |
getSize()
Returns the number of soundings.
|
void |
removeSounding(int index)
Removes a sounding observation from the list.
|
void |
removeSounding(SoundingOb sounding)
Removes a sounding observation from the list.
|
public void addSounding(SoundingOb sounding)
sounding - The sounding observation to be added to the
list.public void removeSounding(SoundingOb sounding)
sounding - The sounding observation to be removed from the
list.public void removeSounding(int index)
index - The index of the sounding observation to be
removed from the list.public void clearSoundings()
public java.lang.Object getElementAt(int index)
index - The index of the sounding.null if there's no such sounding.public int getSize()