Uses of Class
java.awt.PopupMenu
-
Packages that use PopupMenu 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。 -
-
Uses of PopupMenu in java.awt
Methods in java.awt that return PopupMenu 变量和类型 方法 描述 PopupMenu
Taskbar. getMenu()
获取PopupMenu用于将项添加到系统任务区域中此应用程序的图标。PopupMenu
TrayIcon. getPopupMenu()
返回与此TrayIcon
关联的弹出菜单。Methods in java.awt with parameters of type PopupMenu 变量和类型 方法 描述 void
Component. add(PopupMenu popup)
将指定的弹出菜单添加到组件。void
Taskbar. setMenu(PopupMenu menu)
将提供的PopupMenu的内容附加到任务区域中的应用程序图标。void
TrayIcon. setPopupMenu(PopupMenu popup)
设置此TrayIcon
的弹出菜单。Constructors in java.awt with parameters of type PopupMenu 构造器 描述 TrayIcon(Image image, String tooltip, PopupMenu popup)
Creates aTrayIcon
with the specified image, tooltip and popup menu.
-