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 Summary
Fields 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 Summary
Constructors Constructor Description DataSetComboBoxModel(Dataset data) 
- 
Method Summary
All 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.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
DataSetComboBoxModel
public DataSetComboBoxModel(Dataset data)
 
 - 
 
- 
Method Detail
- 
findLabel
public int findLabel(java.lang.String label)
 
- 
findStringValue
public int findStringValue(java.lang.String str)
 
- 
findValue
public int findValue(int value)
 
- 
find
public int find(com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection s)
 
- 
getSize
public int getSize()
- Specified by:
 getSizein interfacejavax.swing.ListModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
 
- 
getElementAt
public com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection getElementAt(int index)
- Specified by:
 getElementAtin interfacejavax.swing.ListModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
 
- 
getSelectedItem
public com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection getSelectedItem()
- Specified by:
 getSelectedItemin interfacejavax.swing.ComboBoxModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
 
- 
setSelectedItem
public void setSelectedItem(java.lang.Object anObject)
- Specified by:
 setSelectedItemin interfacejavax.swing.ComboBoxModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
 
 - 
 
 -