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