public static class UnitSolverDialog.SolutionListModel
extends javax.swing.AbstractListModel
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Vector |
_solutions |
Constructor and Description |
---|
SolutionListModel() |
Modifier and Type | Method and Description |
---|---|
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.
|
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()