Package org.nuiton.math.matrix.viewer
Class MatrixDimensionPanel.SemanticListModel
- java.lang.Object
-
- javax.swing.AbstractListModel<E>
-
- javax.swing.DefaultListModel
-
- org.nuiton.math.matrix.viewer.MatrixDimensionPanel.SemanticListModel
-
- All Implemented Interfaces:
Serializable
,ListModel
- Enclosing class:
- MatrixDimensionPanel
public static class MatrixDimensionPanel.SemanticListModel extends DefaultListModel
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<?>
semantic
-
Fields inherited from class javax.swing.AbstractListModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description SemanticListModel(List<?> semantic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getElementAt(int index)
int
getSize()
-
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 Detail
-
semantic
protected List<?> semantic
-
-
Constructor Detail
-
SemanticListModel
public SemanticListModel(List<?> semantic)
-
-
Method Detail
-
getSize
public int getSize()
- Specified by:
getSize
in interfaceListModel
- Overrides:
getSize
in classDefaultListModel
-
getElementAt
public Object getElementAt(int index)
- Specified by:
getElementAt
in interfaceListModel
- Overrides:
getElementAt
in classDefaultListModel
-
-