com.sas.swing.models
Class MutableComboBoxModelAdapter
com.sas.swing.models.MutableComboBoxModelAdapter
- All Implemented Interfaces:
- com.sas.beans.PropertyChangeSource, com.sas.collection.ContentsChangedListener, ViewDefaultModel, com.sas.util.transforms.DisplayTransformInterface, java.io.Serializable, java.util.EventListener, javax.swing.ComboBoxModel, javax.swing.ListModel, javax.swing.MutableComboBoxModel
public class MutableComboBoxModelAdapter
- implements javax.swing.MutableComboBoxModel
The MutableComboBoxModelAdapter takes a collection which implements
the OrderedCollectionInterface and allows it to be the model to a Swing ComboBox.
- See Also:
ComboBoxModelAdapter
,
Serialized Form
Methods inherited from class com.sas.swing.models.ListModelAdapter |
addPropertyChangeListener, contentsChanged, firePropertyChange, firePropertyChange, getDisplayTransform, getElementAt, getExtendedBeanInfo, getModel, getSize, isDefaultModelAttached, newDefaultModel, removePropertyChangeListener, setDefaultModelAttached, setDisplayTransform |
MutableComboBoxModelAdapter
public MutableComboBoxModelAdapter()
MutableComboBoxModelAdapter
public MutableComboBoxModelAdapter(com.sas.collection.OrderedCollectionInterface collection)
- Constructor.
- Parameters:
collection
- The collection to be in the MutableComboBoxModel.
setModel
public void setModel(IndexedGetInterface model)
- Overrides:
setModel
in class ListModelAdapter
addElement
public void addElement(java.lang.Object obj)
- Specified by:
addElement
in interface javax.swing.MutableComboBoxModel
insertElementAt
public void insertElementAt(java.lang.Object obj,
int index)
- Specified by:
insertElementAt
in interface javax.swing.MutableComboBoxModel
removeElement
public void removeElement(java.lang.Object obj)
- Specified by:
removeElement
in interface javax.swing.MutableComboBoxModel
removeElementAt
public void removeElementAt(int index)
- Specified by:
removeElementAt
in interface javax.swing.MutableComboBoxModel
Copyright © 2009 SAS Institute Inc. All Rights Reserved.