|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface which defines the kind of popup menu that BasicComboBoxUI requires. Classes that implement this interface don't have to extend JPopupMenu. This interface demands very little so alternatives to JPopupMenu can be used.
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. A future release of Swing will provide support for long term persistence.
Method Summary | |
KeyListener |
getKeyListener()
Returns a key listener that shows and hides the popup. |
JList |
getList()
Returns the list that is being used to draw the items in the JComboBox. |
MouseListener |
getMouseListener()
Returns a mouse listener that shows and hides the popup. |
MouseMotionListener |
getMouseMotionListener()
Returns a mouse motion listener that makes the popup act like a menu. |
void |
hide()
Hides the popup |
boolean |
isVisible()
Returns whether or not the popup is visible |
void |
show()
Shows the popup |
void |
uninstallingUI()
Called to inform the ComboPopup that the UI is uninstalling. |
Method Detail |
public void show()
public void hide()
public boolean isVisible()
public JList getList()
public MouseListener getMouseListener()
public MouseMotionListener getMouseMotionListener()
public KeyListener getKeyListener()
public void uninstallingUI()
|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.