Class FactorListModel
- All Implemented Interfaces:
Serializable
,ListModel<Factor>
Model pour la liste des
Factor
.
Pas de selection par defaut.- Version:
- $Revision$ Last update : $Date$ By : $Author$
- Author:
- chatellier
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractListModel
listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetElementAt
(int index) int
getSize()
void
setFactors
(List<Factor> factors) Change data list and fire data change event.Methods inherited from class javax.swing.DefaultListModel
add, addAll, addAll, addElement, capacity, clear, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSize
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
-
Field Details
-
factors
EquationContinuousDomain list
-
-
Constructor Details
-
FactorListModel
Constructor with factors list.- Parameters:
factors
- factors list
-
-
Method Details
-
setFactors
Change data list and fire data change event.- Parameters:
factors
- new data list
-
getElementAt
- Specified by:
getElementAt
in interfaceListModel<Factor>
- Overrides:
getElementAt
in classDefaultListModel<Factor>
-
getSize
public int getSize()
-