public class ExtendedComboBoxModel extends javax.swing.AbstractListModel
Constructor and description |
---|
ExtendedComboBoxModel
() Constructs an empty DefaultComboBoxModel object. |
ExtendedComboBoxModel
(java.lang.Object[] items) Constructs a DefaultComboBoxModel object initialized with an array of objects. |
ExtendedComboBoxModel
(java.util.Vector<?> v) Constructs a DefaultComboBoxModel object initialized with a vector. |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addElement(java.lang.Object anObject) |
|
java.lang.Object |
getElementAt(int index) |
|
int |
getIndexOf(java.lang.Object anObject) Returns the index-position of the specified object in the list. |
|
java.lang.Object |
getSelectedItem() |
|
int |
getSize() |
|
void |
insertElementAt(java.lang.Object anObject, int index) |
|
void |
removeAllElements() Empties the list. |
|
void |
removeElement(java.lang.Object anObject) |
|
void |
removeElementAt(int index) |
|
void |
setElementAt(java.lang.Object obj, int index) |
|
void |
setSelectedItem(java.lang.Object anObject) Set the value of the selected item. |
Methods inherited from class | Name |
---|---|
class javax.swing.AbstractListModel |
javax.swing.AbstractListModel#addListDataListener(javax.swing.event.ListDataListener), javax.swing.AbstractListModel#removeListDataListener(javax.swing.event.ListDataListener), javax.swing.AbstractListModel#getListeners(java.lang.Class), javax.swing.AbstractListModel#getListDataListeners(), javax.swing.AbstractListModel#wait(long), javax.swing.AbstractListModel#wait(long, int), javax.swing.AbstractListModel#wait(), javax.swing.AbstractListModel#equals(java.lang.Object), javax.swing.AbstractListModel#toString(), javax.swing.AbstractListModel#hashCode(), javax.swing.AbstractListModel#getClass(), javax.swing.AbstractListModel#notify(), javax.swing.AbstractListModel#notifyAll(), javax.swing.AbstractListModel#getSize(), javax.swing.AbstractListModel#getElementAt(int) |
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructs an empty DefaultComboBoxModel object.
Constructs a DefaultComboBoxModel object initialized with an array of objects.
items
- an array of Object objectsConstructs a DefaultComboBoxModel object initialized with a vector.
v
- a Vector object ...Returns the index-position of the specified object in the list.
Empties the list.
Set the value of the selected item. The selected item may be null.
anObject
- The combo box value or null for no selection.ReadyAPI functional (soapui) SDK 3.20.1