< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/basic/ComboPopup.java

Print this page

        

*** 39,49 **** * Serialized objects of this class will not be compatible with * future Swing releases. The current serialization support is * appropriate for short term storage or RMI between applications running * the same version of Swing. As of 1.4, support for long term storage * of all JavaBeans&trade; ! * has been added to the <code>java.beans</code> package. * Please see {@link java.beans.XMLEncoder}. * * @author Tom Santos */ @SuppressWarnings("serial") // Same-version serialization only --- 39,49 ---- * Serialized objects of this class will not be compatible with * future Swing releases. The current serialization support is * appropriate for short term storage or RMI between applications running * the same version of Swing. As of 1.4, support for long term storage * of all JavaBeans&trade; ! * has been added to the {@code java.beans} package. * Please see {@link java.beans.XMLEncoder}. * * @author Tom Santos */ @SuppressWarnings("serial") // Same-version serialization only
*** 59,69 **** public void hide(); /** * Returns true if the popup is visible (currently being displayed). * ! * @return <code>true</code> if the component is visible; <code>false</code> otherwise. */ public boolean isVisible(); /** * Returns the list that is being used to draw the items in the combo box. --- 59,69 ---- public void hide(); /** * Returns true if the popup is visible (currently being displayed). * ! * @return {@code true} if the component is visible; {@code false} otherwise. */ public boolean isVisible(); /** * Returns the list that is being used to draw the items in the combo box.
*** 76,94 **** /** * Returns a mouse listener that will be added to the combo box or null. * If this method returns null then it will not be added to the combo box. * ! * @return a <code>MouseListener</code> or null */ public MouseListener getMouseListener(); /** * Returns a mouse motion listener that will be added to the combo box or null. * If this method returns null then it will not be added to the combo box. * ! * @return a <code>MouseMotionListener</code> or null */ public MouseMotionListener getMouseMotionListener(); /** * Returns a key listener that will be added to the combo box or null. --- 76,94 ---- /** * Returns a mouse listener that will be added to the combo box or null. * If this method returns null then it will not be added to the combo box. * ! * @return a {@code MouseListener} or null */ public MouseListener getMouseListener(); /** * Returns a mouse motion listener that will be added to the combo box or null. * If this method returns null then it will not be added to the combo box. * ! * @return a {@code MouseMotionListener} or null */ public MouseMotionListener getMouseMotionListener(); /** * Returns a key listener that will be added to the combo box or null.
< prev index next >