Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

screengen.util
Class ValueDescPairComboBoxModel  view ValueDescPairComboBoxModel download ValueDescPairComboBoxModel.java

java.lang.Object
  extended byjavax.swing.AbstractListModel
      extended byjavax.swing.DefaultComboBoxModel
          extended byscreengen.util.ValueDescPairComboBoxModel
All Implemented Interfaces:
javax.swing.ComboBoxModel, javax.swing.ListModel, javax.swing.MutableComboBoxModel, java.io.Serializable

public class ValueDescPairComboBoxModel
extends javax.swing.DefaultComboBoxModel


Field Summary
 
Fields inherited from class javax.swing.DefaultComboBoxModel
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
ValueDescPairComboBoxModel()
           
 
Method Summary
 void setSelectedItem(java.lang.Object anObject)
          Sets the selected item for the model and sends a ListDataEvent to all registered listeners.
 
Methods inherited from class javax.swing.DefaultComboBoxModel
addElement, getElementAt, getIndexOf, getSelectedItem, getSize, insertElementAt, removeAllElements, removeElement, removeElementAt
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
 

Constructor Detail

ValueDescPairComboBoxModel

public ValueDescPairComboBoxModel()
Method Detail

setSelectedItem

public void setSelectedItem(java.lang.Object anObject)
Description copied from class: javax.swing.DefaultComboBoxModel
Sets the selected item for the model and sends a javax.swing.event.ListDataEvent to all registered listeners. The start and end index of the event is set to -1 to indicate the model's selection has changed, and not its contents.