src/share/classes/javax/swing/JComboBox.java

Print this page
rev 10121 : 8046485: Add missing @since tag under javax.swing.*
Reviewed-by:


  60  * of all JavaBeans™
  61  * has been added to the <code>java.beans</code> package.
  62  * Please see {@link java.beans.XMLEncoder}.
  63  *
  64  * <p>
  65  * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/combobox.html">How to Use Combo Boxes</a>
  66  * in <a href="http://docs.oracle.com/javase/tutorial/"><em>The Java Tutorial</em></a>
  67  * for further information.
  68  *
  69  * @see ComboBoxModel
  70  * @see DefaultComboBoxModel
  71  *
  72  * @param <E> the type of the elements of this combo box
  73  *
  74  * @beaninfo
  75  *   attribute: isContainer false
  76  * description: A combination of a text field and a drop-down list.
  77  *
  78  * @author Arnaud Weber
  79  * @author Mark Davidson

  80  */
  81 @SuppressWarnings("serial") // Same-version serialization only
  82 public class JComboBox<E> extends JComponent
  83 implements ItemSelectable,ListDataListener,ActionListener, Accessible {
  84     /**
  85      * @see #getUIClassID
  86      * @see #readObject
  87      */
  88     private static final String uiClassID = "ComboBoxUI";
  89 
  90     /**
  91      * This protected field is implementation specific. Do not access directly
  92      * or override. Use the accessor methods instead.
  93      *
  94      * @see #getModel
  95      * @see #setModel
  96      */
  97     protected ComboBoxModel<E>    dataModel;
  98     /**
  99      * This protected field is implementation specific. Do not access directly




  60  * of all JavaBeans&trade;
  61  * has been added to the <code>java.beans</code> package.
  62  * Please see {@link java.beans.XMLEncoder}.
  63  *
  64  * <p>
  65  * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/combobox.html">How to Use Combo Boxes</a>
  66  * in <a href="http://docs.oracle.com/javase/tutorial/"><em>The Java Tutorial</em></a>
  67  * for further information.
  68  *
  69  * @see ComboBoxModel
  70  * @see DefaultComboBoxModel
  71  *
  72  * @param <E> the type of the elements of this combo box
  73  *
  74  * @beaninfo
  75  *   attribute: isContainer false
  76  * description: A combination of a text field and a drop-down list.
  77  *
  78  * @author Arnaud Weber
  79  * @author Mark Davidson
  80  * @since 1.2
  81  */
  82 @SuppressWarnings("serial") // Same-version serialization only
  83 public class JComboBox<E> extends JComponent
  84 implements ItemSelectable,ListDataListener,ActionListener, Accessible {
  85     /**
  86      * @see #getUIClassID
  87      * @see #readObject
  88      */
  89     private static final String uiClassID = "ComboBoxUI";
  90 
  91     /**
  92      * This protected field is implementation specific. Do not access directly
  93      * or override. Use the accessor methods instead.
  94      *
  95      * @see #getModel
  96      * @see #setModel
  97      */
  98     protected ComboBoxModel<E>    dataModel;
  99     /**
 100      * This protected field is implementation specific. Do not access directly