Package jmri.swing
Class DefaultEditableListModel<E>
- java.lang.Object
-
- javax.swing.AbstractListModel<E>
-
- javax.swing.DefaultListModel<E>
-
- jmri.swing.DefaultEditableListModel<E>
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.ListModel<E>
,EditableListModel<E>
public class DefaultEditableListModel<E> extends javax.swing.DefaultListModel<E> implements EditableListModel<E>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultEditableListModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCellEditable(int index)
void
setValueAt(E value, int index)
-
Methods inherited from class javax.swing.DefaultListModel
add, addAll, addAll, addElement, capacity, clear, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, getElementAt, getSize, 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
-
-
-
-
Constructor Detail
-
DefaultEditableListModel
public DefaultEditableListModel()
-
-
Method Detail
-
isCellEditable
public boolean isCellEditable(int index)
- Specified by:
isCellEditable
in interfaceEditableListModel<E>
-
setValueAt
public void setValueAt(E value, int index)
- Specified by:
setValueAt
in interfaceEditableListModel<E>
-
-