Class SignalList.SignalListModel
- java.lang.Object
-
- javax.swing.AbstractListModel<SignalPair>
-
- jmri.jmrit.display.controlPanelEditor.SignalList.SignalListModel
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.io.Serializable
,java.util.EventListener
,javax.swing.ListModel<SignalPair>
- Enclosing class:
- SignalList
static class SignalList.SignalListModel extends javax.swing.AbstractListModel<SignalPair> implements java.beans.PropertyChangeListener
-
-
Field Summary
Fields Modifier and Type Field Description (package private) OBlock
_homeBlock
(package private) java.util.List<SignalPair>
_list
-
Constructor Summary
Constructors Constructor Description SignalListModel(OBlock block, EditFrame parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dataChange()
SignalPair
getElementAt(int index)
int
getSize()
void
propertyChange(java.beans.PropertyChangeEvent e)
-
-
-
Field Detail
-
_homeBlock
OBlock _homeBlock
-
_list
java.util.List<SignalPair> _list
-
-
Constructor Detail
-
SignalListModel
SignalListModel(OBlock block, EditFrame parent)
-
-
Method Detail
-
getSize
public int getSize()
- Specified by:
getSize
in interfacejavax.swing.ListModel<SignalPair>
-
getElementAt
public SignalPair getElementAt(int index)
- Specified by:
getElementAt
in interfacejavax.swing.ListModel<SignalPair>
-
dataChange
public void dataChange()
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
-