public class IncomingEdgeListModel extends AbstractListModel
listenerList
Constructor and Description |
---|
IncomingEdgeListModel()
default constructor
|
Modifier and Type | Method and Description |
---|---|
Collection<RegulatoryMultiEdge> |
getEdge()
get the list of incoming edge
|
Object |
getElementAt(int index) |
int |
getIndex(RegulatoryEdge e)
get the index in list of a GsEdgeIndex
|
int |
getSize() |
void |
setEdge(Collection<RegulatoryMultiEdge> list)
set the list of incoming edge
|
void |
updateSize()
recalculate the size of the list
|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
public int getSize()
ListModel.getSize()
public void updateSize()
public Object getElementAt(int index)
ListModel.getElementAt(int)
public Collection<RegulatoryMultiEdge> getEdge()
public void setEdge(Collection<RegulatoryMultiEdge> list)
list
- the list of incoming edgepublic int getIndex(RegulatoryEdge e)
e
- an GsEdgeIndex objectCopyright © 2005–2020. All rights reserved.