Class PMIComboBox.DataSetComboBoxModel
java.lang.Object
javax.swing.AbstractListModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel
- All Implemented Interfaces:
- Serializable,- ComboBoxModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>,- ListModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
- Enclosing class:
- PMIComboBox
public class PMIComboBox.DataSetComboBoxModel
extends AbstractListModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
implements ComboBoxModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected List<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>protected com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelectionFields inherited from class javax.swing.AbstractListModellistenerList
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintfind(com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection s) intintfindStringValue(String str) intfindValue(int value) com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelectiongetElementAt(int index) com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelectionintgetSize()voidsetSelectedItem(Object anObject) Methods inherited from class javax.swing.AbstractListModeladdListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.ListModeladdListDataListener, removeListDataListener
- 
Field Details- 
selectedprotected com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection selected
- 
itemsprotected List<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection> items
 
- 
- 
Constructor Details- 
DataSetComboBoxModel
 
- 
- 
Method Details- 
findLabel
- 
findStringValue
- 
findValuepublic int findValue(int value) 
- 
findpublic int find(com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection s) 
- 
getSizepublic int getSize()
- 
getElementAtpublic com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection getElementAt(int index) - Specified by:
- getElementAtin interface- ListModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
 
- 
getSelectedItempublic com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection getSelectedItem()- Specified by:
- getSelectedItemin interface- ComboBoxModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
 
- 
setSelectedItem- Specified by:
- setSelectedItemin interface- ComboBoxModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
 
 
-