|
Java Platform 1.2 |
|||||||||
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()
|
Java Platform 1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |