|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractListModel
ptolemy.vergil.unit.UnitSolverDialog.SolutionListModel
public static class UnitSolverDialog.SolutionListModel
List of solutions.
Field Summary | |
---|---|
(package private) java.util.Vector |
_solutions
|
Fields inherited from class javax.swing.AbstractListModel |
---|
listenerList |
Constructor Summary | |
---|---|
UnitSolverDialog.SolutionListModel()
|
Method Summary | |
---|---|
void |
clear()
Clear the current set of solutions. |
java.lang.Object |
getElementAt(int index)
Return an element. |
int |
getSize()
Return the number of solutions. |
void |
setSolutions(java.util.Vector solutions)
Set the solutions to the specified argument. |
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 |
Field Detail |
---|
java.util.Vector _solutions
Constructor Detail |
---|
public UnitSolverDialog.SolutionListModel()
Method Detail |
---|
public java.lang.Object getElementAt(int index)
index
- The index of the element to be returned.
public int getSize()
public void setSolutions(java.util.Vector solutions)
solutions
- A vector of solutions.public void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |