Class ConfigurationModel
- java.lang.Object
- 
- jadex.bpmn.editor.gui.propertypanels.ConfigurationModel
 
- 
- All Implemented Interfaces:
- javax.swing.ComboBoxModel,- javax.swing.ListModel
 
 public class ConfigurationModel extends java.lang.Object implements javax.swing.ComboBoxModel
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.List<javax.swing.event.ListDataListener>listenersListeners.protected IModelInfomodelinfoThe model info.protected intselectionSelection.
 - 
Constructor SummaryConstructors Constructor Description ConfigurationModel(IModelInfo modelinfo)Creates the model.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddListDataListener(javax.swing.event.ListDataListener l)voidfireModelChange()java.lang.StringgetElementAt(int index)java.lang.ObjectgetSelectedItem()intgetSize()voidremoveListDataListener(javax.swing.event.ListDataListener l)voidsetSelectedItem(java.lang.Object anItem)
 
- 
- 
- 
Field Detail- 
listenersprotected java.util.List<javax.swing.event.ListDataListener> listeners Listeners.
 - 
modelinfoprotected IModelInfo modelinfo The model info.
 - 
selectionprotected int selection Selection.
 
- 
 - 
Constructor Detail- 
ConfigurationModelpublic ConfigurationModel(IModelInfo modelinfo) Creates the model.- Parameters:
- modelinfo- The model info.
 
 
- 
 - 
Method Detail- 
getSizepublic int getSize() - Specified by:
- getSizein interface- javax.swing.ListModel
 
 - 
getElementAtpublic java.lang.String getElementAt(int index) - Specified by:
- getElementAtin interface- javax.swing.ListModel
 
 - 
addListDataListenerpublic void addListDataListener(javax.swing.event.ListDataListener l) - Specified by:
- addListDataListenerin interface- javax.swing.ListModel
 
 - 
removeListDataListenerpublic void removeListDataListener(javax.swing.event.ListDataListener l) - Specified by:
- removeListDataListenerin interface- javax.swing.ListModel
 
 - 
setSelectedItempublic void setSelectedItem(java.lang.Object anItem) - Specified by:
- setSelectedItemin interface- javax.swing.ComboBoxModel
 
 - 
getSelectedItempublic java.lang.Object getSelectedItem() - Specified by:
- getSelectedItemin interface- javax.swing.ComboBoxModel
 
 - 
fireModelChangepublic void fireModelChange() 
 
- 
 
-