Package | Description |
---|---|
org.eclipse.rap.rwt.lifecycle | |
org.eclipse.swt.widgets |
Modifier and Type | Method and Description |
---|---|
static void |
WidgetLCAUtil.renderMenu(Widget widget,
Menu menu)
Deprecated.
Determines whether the property
menu of the given widget has
changed during the processing of the current request and if so, writes
a protocol message to the response that updates the client-side menu property
of the specified widget. |
Modifier and Type | Method and Description |
---|---|
Menu |
Control.getMenu()
Returns the receiver's pop up menu if it has one, or null
if it does not.
|
Menu |
MenuItem.getMenu()
Returns the receiver's cascade menu if it has one or null
if it does not.
|
Menu |
TaskItem.getMenu()
Returns the receiver's pop up menu if it has one, or null
if it does not.
|
Menu |
Decorations.getMenuBar()
Returns the receiver's menu bar if one had previously
been set, otherwise returns null.
|
Menu |
Display.getMenuBar()
Returns the single instance of the application menu bar or null
when there is no application menu bar for the platform.
|
Menu |
MenuItem.getParent()
Returns the receiver's parent, which must be a
Menu . |
Menu |
Menu.getParentMenu()
Returns the receiver's parent item, which must be a
Menu or null when the receiver is a
root. |
Menu |
Display.getSystemMenu()
Returns the single instance of the system-provided menu for the application.
|
Modifier and Type | Method and Description |
---|---|
void |
Control.setMenu(Menu menu)
Sets the receiver's pop up menu to the argument.
|
void |
MenuItem.setMenu(Menu menu)
Sets the receiver's pull down menu to the argument.
|
void |
TaskItem.setMenu(Menu menu)
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.
|
Constructor and Description |
---|
Menu(Menu menu)
Constructs a new instance of this class given its parent
(which must be a
Menu ) and sets the style
for the instance so that the instance will be a drop-down
menu on the given parent's parent. |
MenuItem(Menu parent,
int style)
Constructs a new instance of this class given its parent
(which must be a
Menu ) and a style value
describing its behavior and appearance. |
MenuItem(Menu parent,
int style,
int index)
Constructs a new instance of this class given its parent
(which must be a
Menu ), a style value
describing its behavior and appearance, and the index
at which to place it in the items maintained by its parent. |
Copyright (c) EclipseSource and others 2002, 2014.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0