Home » openjdk-7 » javax » swing » plaf » basic » [javadoc | source]
javax.swing.plaf.basic
public interface: ComboPopup [javadoc | source]

All Known Implementing Classes:
    MetalComboPopup, SynthComboPopup, BasicComboPopup

The interface which defines the methods required for the implementation of the popup portion of a combo box.

Warning: 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 JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder .

Method from javax.swing.plaf.basic.ComboPopup Summary:
getKeyListener,   getList,   getMouseListener,   getMouseMotionListener,   hide,   isVisible,   show,   uninstallingUI
Method from javax.swing.plaf.basic.ComboPopup Detail:
 public KeyListener getKeyListener()
    Returns a key 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.
 public JList getList()
    Returns the list that is being used to draw the items in the combo box. This method is highly implementation specific and should not be used for general list manipulation.
 public MouseListener getMouseListener()
    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.
 public MouseMotionListener getMouseMotionListener()
    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.
 public  void hide()
    Hides the popup
 public boolean isVisible()
    Returns true if the popup is visible (currently being displayed).
 public  void show()
    Shows the popup
 public  void uninstallingUI()
    Called to inform the ComboPopup that the UI is uninstalling. If the ComboPopup added any listeners in the component, it should remove them here.