Class GridToolTip
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.nebula.widgets.grid.internal.GridToolTip
public class GridToolTip
extends org.eclipse.swt.widgets.Widget
An in-place tooltip.
-
Constructor Summary
Constructors Constructor Description GridToolTip(org.eclipse.swt.widgets.Control parent)
Creates an inplace tooltip. -
Method Summary
Modifier and Type Method 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.Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
-
Constructor Details
-
GridToolTip
public GridToolTip(org.eclipse.swt.widgets.Control parent)Creates an inplace tooltip.- Parameters:
parent
- parent control.
-
-
Method Details
-
setLocation
public void setLocation(org.eclipse.swt.graphics.Point location)Sets the location of the tooltip.- Parameters:
location
-
-
setVisible
public void setVisible(boolean visible)Shows or hides the tooltip.- Parameters:
visible
-
-
setFont
public void setFont(org.eclipse.swt.graphics.Font font)- Parameters:
font
-
-
getText
public java.lang.String getText()- Returns:
- the text
-
setText
public void setText(java.lang.String text)- Parameters:
text
- the text to set
-
checkSubclass
protected void checkSubclass()- Overrides:
checkSubclass
in classorg.eclipse.swt.widgets.Widget
-