public interface ComboPopup
警告:此类的序列化对象与将来的Swing版本不兼容。 当前的序列化支持适用于运行相同版本的Swing的应用程序之间的短期存储或RMI。 从1.4开始,对所有JavaBeans的长期存储的支持已被添加到java.beans包中。 请参阅XMLEncoder 。
| Modifier and Type | Method and Description |
|---|---|
KeyListener |
getKeyListener()
返回一个将被添加到组合框或null的关键侦听器。
|
JList |
getList()
返回用于在组合框中绘制项目的列表。
|
MouseListener |
getMouseListener()
返回一个将被添加到组合框或null的鼠标监听器。
|
MouseMotionListener |
getMouseMotionListener()
返回一个将被添加到组合框或null的鼠标移动侦听器。
|
void |
hide()
隐藏弹出窗口
|
boolean |
isVisible()
如果弹出窗口可见(正在显示),则返回true。
|
void |
show()
显示弹出窗口
|
void |
uninstallingUI()
调用通知ComboPopup用户界面正在卸载。
|
void show()
void hide()
boolean isVisible()
true如果组件可见;
false否则。
JList getList()
MouseListener getMouseListener()
MouseListener或null
MouseMotionListener getMouseMotionListener()
MouseMotionListener或null
KeyListener getKeyListener()
void uninstallingUI()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.