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 Summary
FieldsModifier and TypeFieldDescriptionprotected List<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection> protected com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelectionFields inherited from class AbstractListModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier 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 AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ListModel
addListDataListener, removeListDataListener
-
Field Details
-
selected
protected com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection selected -
items
protected List<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection> items
-
-
Constructor Details
-
DataSetComboBoxModel
-
-
Method Details
-
findLabel
-
findStringValue
-
findValue
public int findValue(int value) -
find
public int find(com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection s) -
getSize
-
getElementAt
public com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection getElementAt(int index) - Specified by:
getElementAtin interfaceListModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
-
getSelectedItem
public com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection getSelectedItem()- Specified by:
getSelectedItemin interfaceComboBoxModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
-
setSelectedItem
- Specified by:
setSelectedItemin interfaceComboBoxModel<com.inductiveautomation.factorypmi.application.components.PMIComboBox.DataSetComboBoxModel.CBSelection>
-