|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.util.tip.BrowserTip
public class BrowserTip
Browser tip
Constructor Summary | |
---|---|
BrowserTip(int toolTipWidth,
int toolTipHeight,
boolean plainText)
Create a browser tip using its own ScheduledExecutorService |
|
BrowserTip(int toolTipWidth,
int toolTipHeight,
boolean plainText,
ScheduledExecutorService scheduleService)
Create a browser tip with using given ScheduledExecutorService |
Method Summary | |
---|---|
int |
getHeightAdjustment()
|
static void |
hideToolTip(org.eclipse.swt.widgets.Shell shell)
Hide the tool tip |
void |
setHeightAdjustment(int heightAdjustment)
|
org.eclipse.swt.widgets.Shell |
showToolTip(org.eclipse.swt.widgets.Control control,
int posx,
int posy,
String toolTip)
Show the tool tip |
org.eclipse.swt.widgets.Shell |
showToolTip(org.eclipse.swt.widgets.Control control,
int posx,
int posy,
String toolTip,
org.eclipse.swt.graphics.Rectangle addBounds,
org.eclipse.swt.widgets.Control addBoundsControl)
Show the tool tip |
static boolean |
toolTipVisible(org.eclipse.swt.widgets.Shell shell)
Determines if the tool tip is visible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BrowserTip(int toolTipWidth, int toolTipHeight, boolean plainText)
ScheduledExecutorService
toolTipWidth
- the maximum withtoolTipHeight
- the maximum heightplainText
- if the content will be plain text instead of HTMLpublic BrowserTip(int toolTipWidth, int toolTipHeight, boolean plainText, ScheduledExecutorService scheduleService)
ScheduledExecutorService
toolTipWidth
- the maximum withtoolTipHeight
- the maximum heightplainText
- if the content will be plain text instead of HTMLscheduleService
- the scheduled executor service to use, if
null
a service will be createdMethod Detail |
---|
public org.eclipse.swt.widgets.Shell showToolTip(org.eclipse.swt.widgets.Control control, int posx, int posy, String toolTip)
control
- the tip controlposx
- the x-positionposy
- the y-positiontoolTip
- the tool tip string
public org.eclipse.swt.widgets.Shell showToolTip(org.eclipse.swt.widgets.Control control, int posx, int posy, String toolTip, org.eclipse.swt.graphics.Rectangle addBounds, org.eclipse.swt.widgets.Control addBoundsControl)
control
- the tip controlposx
- the x-positionposy
- the y-positiontoolTip
- the tool tip stringaddBounds
- additional bounds that will be treated as if in the
tooltip (the tooltip won't hide if the cursor is inside these
bounds), may be null
addBoundsControl
- the control the addBounds coordinates are
relative to, null
if addBounds is in display
coordinates or no addBounds is provided
public static void hideToolTip(org.eclipse.swt.widgets.Shell shell)
shell
- the tip shellpublic static boolean toolTipVisible(org.eclipse.swt.widgets.Shell shell)
shell
- the tip shell
public int getHeightAdjustment()
public void setHeightAdjustment(int heightAdjustment)
heightAdjustment
- the heightAdjustment to set
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |