Uses of Class
org.eclipse.swt.widgets.Menu
-
Uses of Menu in org.eclipse.swt.widgets
Modifier and TypeMethodDescriptionControl.getMenu()
Returns the receiver's pop up menu if it has one, or null if it does not.MenuItem.getMenu()
Returns the receiver's cascade menu if it has one or null if it does not.TaskItem.getMenu()
Returns the receiver's pop up menu if it has one, or null if it does not.Decorations.getMenuBar()
Returns the receiver's menu bar if one had previously been set, otherwise returns null.Display.getMenuBar()
Returns the single instance of the application menu bar or null when there is no application menu bar for the platform.MenuItem.getParent()
Returns the receiver's parent, which must be aMenu
.Menu.getParentMenu()
Returns the receiver's parent item, which must be aMenu
or null when the receiver is a root.Display.getSystemMenu()
Returns the single instance of the system-provided menu for the application.Modifier and TypeMethodDescriptionvoid
Sets the receiver's pop up menu to the argument.void
Sets the receiver's pull down menu to the argument.void
Sets the receiver's pop up menu to the argument.void
Decorations.setMenuBar
(Menu menuBar) Sets the receiver's menu bar to the argument, which may be null.ModifierConstructorDescriptionConstructs a new instance of this class given its parent (which must be aMenu
) and sets the style for the instance so that the instance will be a drop-down menu on the given parent's parent.Constructs a new instance of this class given its parent (which must be aMenu
) and a style value describing its behavior and appearance.Constructs a new instance of this class given its parent (which must be aMenu
), a style value describing its behavior and appearance, and the index at which to place it in the items maintained by its parent.