|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.commons.swt.controls.custom.CustomTooltip
com.ibm.commons.swt.controls.tooltip.SimpleTooltip
public class SimpleTooltip
Simple tooltip, displays a single text based tooltip.
| Method Summary | |
|---|---|
static SimpleTooltip |
create(org.eclipse.swt.widgets.Control parentControl,
org.eclipse.swt.graphics.Point pt,
java.lang.String text)
Static factory used for creating SimpleTooltip instances. |
protected void |
createTooltipPart(org.eclipse.swt.widgets.Composite parent)
The CustomTooltip class will create a new shell object, and will set its co-ordinates so it appears beside the reference control (provided to the concrete class via constructor). |
| Methods inherited from class com.ibm.commons.swt.controls.custom.CustomTooltip |
|---|
create, dispose, getId, getShell, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SimpleTooltip create(org.eclipse.swt.widgets.Control parentControl,
org.eclipse.swt.graphics.Point pt,
java.lang.String text)
parentControl - - reference control, also used as a parent control.pt - - the point where the tooltip should appear.text - - the text to appear in the tooltip
protected void createTooltipPart(org.eclipse.swt.widgets.Composite parent)
CustomTooltip
createTooltipPart in class CustomTooltipparent - - A shell created internally by the CustomTooltip CustomTooltip.create(Control, Point) method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||