Uses of Class
org.eclipse.swt.widgets.MenuItem
-
Uses of MenuItem in org.eclipse.swt.widgets
Modifier and TypeMethodDescriptionMenu.getDefaultItem()
Returns the default menu item or null if none has been previously set.Menu.getItem
(int index) Returns the item at the given, zero-relative index in the receiver.MenuItem[]
Menu.getItems()
Returns a (possibly empty) array ofMenuItem
s which are the items in the receiver.Menu.getParentItem()
Returns the receiver's parent item, which must be aMenuItem
or null when the receiver is a root.Modifier and TypeMethodDescriptionint
Searches the receiver's list starting at the first item (index 0) until an item is found that is equal to the argument, and returns the index of that item.void
Menu.setDefaultItem
(MenuItem item) Sets the default menu item to the argument or removes the default emphasis when the argument isnull
.