public class GridToolTip
extends org.eclipse.swt.widgets.Widget
Constructor and Description |
---|
GridToolTip(org.eclipse.swt.widgets.Control parent)
Creates an inplace tooltip.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkSubclass() |
java.lang.String |
getText() |
void |
setFont(org.eclipse.swt.graphics.Font font) |
void |
setLocation(org.eclipse.swt.graphics.Point location)
Sets the location of the tooltip.
|
void |
setText(java.lang.String text) |
void |
setVisible(boolean visible)
Shows or hides the tooltip.
|
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
public GridToolTip(org.eclipse.swt.widgets.Control parent)
parent
- parent control.public void setLocation(org.eclipse.swt.graphics.Point location)
location
- public void setVisible(boolean visible)
visible
- public void setFont(org.eclipse.swt.graphics.Font font)
font
- public java.lang.String getText()
public void setText(java.lang.String text)
text
- the text to setprotected void checkSubclass()
checkSubclass
in class org.eclipse.swt.widgets.Widget