javax.swing.plaf.basic
Interface ComboPopup

All Known Implementing Classes:
BasicComboPopup sample code for javax.swing.plaf.basic.BasicComboPopup definition code for javax.swing.plaf.basic.BasicComboPopup , MetalComboBoxUI.MetalComboPopup sample code for javax.swing.plaf.metal.MetalComboBoxUI.MetalComboPopup definition code for javax.swing.plaf.metal.MetalComboBoxUI.MetalComboPopup

public interface ComboPopup

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 XMLEncoder sample code for java.beans.XMLEncoder definition code for java.beans.XMLEncoder .


Method Summary
 KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener getKeyListener sample code for javax.swing.plaf.basic.ComboPopup.getKeyListener() definition code for javax.swing.plaf.basic.ComboPopup.getKeyListener() ()
          Returns a key listener that will be added to the combo box or null.
 JList sample code for javax.swing.JList definition code for javax.swing.JList getList sample code for javax.swing.plaf.basic.ComboPopup.getList() definition code for javax.swing.plaf.basic.ComboPopup.getList() ()
          Returns the list that is being used to draw the items in the combo box.
 MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener getMouseListener sample code for javax.swing.plaf.basic.ComboPopup.getMouseListener() definition code for javax.swing.plaf.basic.ComboPopup.getMouseListener() ()
          Returns a mouse listener that will be added to the combo box or null.
 MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener getMouseMotionListener sample code for javax.swing.plaf.basic.ComboPopup.getMouseMotionListener() definition code for javax.swing.plaf.basic.ComboPopup.getMouseMotionListener() ()
          Returns a mouse motion listener that will be added to the combo box or null.
 void hide sample code for javax.swing.plaf.basic.ComboPopup.hide() definition code for javax.swing.plaf.basic.ComboPopup.hide() ()
          Hides the popup
 boolean isVisible sample code for javax.swing.plaf.basic.ComboPopup.isVisible() definition code for javax.swing.plaf.basic.ComboPopup.isVisible() ()
          Returns true if the popup is visible (currently being displayed).
 void show sample code for javax.swing.plaf.basic.ComboPopup.show() definition code for javax.swing.plaf.basic.ComboPopup.show() ()
          Shows the popup
 void uninstallingUI sample code for javax.swing.plaf.basic.ComboPopup.uninstallingUI() definition code for javax.swing.plaf.basic.ComboPopup.uninstallingUI() ()
          Called to inform the ComboPopup that the UI is uninstalling.
 

Method Detail

show sample code for javax.swing.plaf.basic.ComboPopup.show() definition code for javax.swing.plaf.basic.ComboPopup.show()

void show()
Shows the popup


hide sample code for javax.swing.plaf.basic.ComboPopup.hide() definition code for javax.swing.plaf.basic.ComboPopup.hide()

void hide()
Hides the popup


isVisible sample code for javax.swing.plaf.basic.ComboPopup.isVisible() definition code for javax.swing.plaf.basic.ComboPopup.isVisible()

boolean isVisible()
Returns true if the popup is visible (currently being displayed).

Returns:
true if the component is visible; false otherwise.

getList sample code for javax.swing.plaf.basic.ComboPopup.getList() definition code for javax.swing.plaf.basic.ComboPopup.getList()

JList sample code for javax.swing.JList definition code for javax.swing.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.


getMouseListener sample code for javax.swing.plaf.basic.ComboPopup.getMouseListener() definition code for javax.swing.plaf.basic.ComboPopup.getMouseListener()

MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.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.

Returns:
a MouseListener or null

getMouseMotionListener sample code for javax.swing.plaf.basic.ComboPopup.getMouseMotionListener() definition code for javax.swing.plaf.basic.ComboPopup.getMouseMotionListener()

MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.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.

Returns:
a MouseMotionListener or null

getKeyListener sample code for javax.swing.plaf.basic.ComboPopup.getKeyListener() definition code for javax.swing.plaf.basic.ComboPopup.getKeyListener()

KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.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.


uninstallingUI sample code for javax.swing.plaf.basic.ComboPopup.uninstallingUI() definition code for javax.swing.plaf.basic.ComboPopup.uninstallingUI()

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.