public class PGroupToolItem
extends org.eclipse.swt.widgets.Item
PGroup
.Constructor | Description |
---|---|
PGroupToolItem(PGroup parent,
int style) |
Modifier and Type | Method | Description |
---|---|---|
void |
addSelectionListener(org.eclipse.swt.events.SelectionListener listener) |
|
org.eclipse.swt.graphics.Rectangle |
getBounds() |
|
boolean |
getSelection() |
Returns
true if the receiver is selected, and false
otherwise. |
java.lang.String |
getToolTipText() |
|
void |
removeSelectionListener(org.eclipse.swt.events.SelectionListener listener) |
|
void |
setBounds(org.eclipse.swt.graphics.Rectangle bounds) |
|
void |
setSelection(boolean selection) |
Sets the selection state of the receiver.
|
void |
setToolTipText(java.lang.String tooltip) |
public PGroupToolItem(PGroup parent, int style)
public void setBounds(org.eclipse.swt.graphics.Rectangle bounds)
public org.eclipse.swt.graphics.Rectangle getBounds()
public void setSelection(boolean selection)
selection
- the new selection statepublic boolean getSelection()
true
if the receiver is selected, and false
otherwise.public void addSelectionListener(org.eclipse.swt.events.SelectionListener listener)
public void removeSelectionListener(org.eclipse.swt.events.SelectionListener listener)
public void setToolTipText(java.lang.String tooltip)
public java.lang.String getToolTipText()