public class SetTypesListModel extends AbstractListModel<SetType>
listenerList
Constructor and Description |
---|
SetTypesListModel(ProjectionModel currentProjection)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addSetType(String name,
String desc)
Add a Settype.
|
SetType |
getElementAt(int index) |
ProjectionModel |
getProjection() |
int |
getSize() |
void |
removeSetType(int index)
Remove a Settype.
|
void |
setProjection(ProjectionModel scenario) |
void |
setTypeChanged(int stIndex)
Propagates event of a changing Settype.
|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
public SetTypesListModel(ProjectionModel currentProjection)
currentProjection
- the projection to be editedpublic SetType getElementAt(int index)
public int getSize()
public void removeSetType(int index)
index
- index of the Settypepublic void addSetType(String name, String desc)
name
- name of the Settypedesc
- description of the Settypepublic void setTypeChanged(int stIndex)
stIndex
- index of Settype that was changedpublic ProjectionModel getProjection()
public void setProjection(ProjectionModel scenario)
Copyright © 2012. All Rights Reserved.