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 Modifier and Type 方法 描述 PopupMenu
Taskbar. getMenu()
获取用于在系统任务区域中将项目添加到此应用程序图标的PopupMenu。PopupMenu
TrayIcon. getPopupMenu()
返回与此TrayIcon
关联的弹出菜单。Methods in java.awt with parameters of type PopupMenu Modifier and Type 方法 描述 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 Constructor 描述 TrayIcon(Image image, String tooltip, PopupMenu popup)
Creates aTrayIcon
with the specified image, tooltip and popup menu.
-