软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
Modifier and Type | Method and Description |
---|---|
PopupMenu |
TrayIcon.getPopupMenu()
返回与此
TrayIcon 相关的弹出式菜单。
|
Modifier and Type | Method and Description |
---|---|
void |
Component.add(PopupMenu popup)
添加指定的弹出式菜单的组件。
|
protected abstract java.awt.peer.PopupMenuPeer |
Toolkit.createPopupMenu(PopupMenu target)
创建这个工具的实现
PopupMenu 使用指定的节点接口。
|
void |
TrayIcon.setPopupMenu(PopupMenu popup)
设置此
TrayIcon 弹出菜单。
|
Constructor and Description |
---|
TrayIcon(Image image, String tooltip, PopupMenu popup)
创建一个具有指定的图像
TrayIcon ,提示和弹出式菜单。
|
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.