Package | Description |
---|---|
org.eclipse.swt.widgets |
Modifier and Type | Method and Description |
---|---|
ToolBar |
ToolItem.getParent()
Returns the receiver's parent, which must be a
ToolBar . |
ToolBar |
Shell.getToolBar()
Returns a ToolBar object representing the tool bar that can be shown in the receiver's
trim.
|
Constructor and Description |
---|
ToolItem(ToolBar parent,
int style)
Constructs a new instance of this class given its parent
(which must be a
ToolBar ) and a style value
describing its behavior and appearance. |
ToolItem(ToolBar parent,
int style,
int index)
Constructs a new instance of this class given its parent
(which must be a
ToolBar ), a style value
describing its behavior and appearance, and the index
at which to place it in the items maintained by its parent. |
Copyright © 2017. All Rights Reserved.