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:
- java.io.Serializable,- javax.swing.ComboBoxModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>,- javax.swing.ListModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
 - Enclosing class:
- PMIComboBox
 
 public class PMIComboBox.DataSetComboBoxModel extends javax.swing.AbstractListModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection> implements javax.swing.ComboBoxModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.List<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>itemsprotected com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelectionselected
 - 
Constructor SummaryConstructors Constructor Description DataSetComboBoxModel(Dataset data)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intfind(com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection s)intfindLabel(java.lang.String label)intfindStringValue(java.lang.String str)intfindValue(int value)com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelectiongetElementAt(int index)com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelectiongetSelectedItem()intgetSize()voidsetSelectedItem(java.lang.Object anObject)- 
Methods inherited from class javax.swing.AbstractListModeladdListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
- 
 
- 
- 
- 
Constructor Detail- 
DataSetComboBoxModelpublic DataSetComboBoxModel(Dataset data) 
 
- 
 - 
Method Detail- 
findLabelpublic int findLabel(java.lang.String label) 
 - 
findStringValuepublic int findStringValue(java.lang.String str) 
 - 
findValuepublic int findValue(int value) 
 - 
findpublic int find(com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection s) 
 - 
getSizepublic int getSize() - Specified by:
- getSizein interface- javax.swing.ListModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
 
 - 
getElementAtpublic com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection getElementAt(int index) - Specified by:
- getElementAtin interface- javax.swing.ListModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
 
 - 
getSelectedItempublic com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection getSelectedItem() - Specified by:
- getSelectedItemin interface- javax.swing.ComboBoxModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
 
 - 
setSelectedItempublic void setSelectedItem(java.lang.Object anObject) - Specified by:
- setSelectedItemin interface- javax.swing.ComboBoxModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
 
 
- 
 
-