class ControlDecoration.Hover
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
arrowOnLeft
Boolean indicating whether the last computed polygon location had an arrow on left.
|
private static java.lang.String |
EMPTY |
private int |
hah
Height of info hover arrow.
|
private int |
hao
Offset of info hover arrow from the left or right side.
|
private int |
haw
Width of info hover arrow.
|
(package private) int |
hm
Margin around info hover text.
|
(package private) org.eclipse.swt.widgets.Shell |
hoverShell
This info hover's shell.
|
(package private) org.eclipse.swt.graphics.Region |
region
The region used to manage the shell shape
|
(package private) java.lang.String |
text
The info hover text.
|
Constructor and Description |
---|
Hover(org.eclipse.swt.widgets.Shell parent) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
dispose() |
(package private) org.eclipse.swt.graphics.Point |
getExtent() |
(package private) int[] |
getPolygon(boolean border) |
(package private) boolean |
isVisible() |
(package private) void |
setNewShape() |
(package private) void |
setText(java.lang.String t,
org.eclipse.swt.graphics.Rectangle decorationRectangle,
org.eclipse.swt.widgets.Control targetControl) |
(package private) void |
setVisible(boolean visible) |
private static final java.lang.String EMPTY
private int hao
private int haw
private int hah
int hm
org.eclipse.swt.widgets.Shell hoverShell
java.lang.String text
org.eclipse.swt.graphics.Region region
boolean arrowOnLeft
int[] getPolygon(boolean border)
void dispose()
void setVisible(boolean visible)
void setText(java.lang.String t, org.eclipse.swt.graphics.Rectangle decorationRectangle, org.eclipse.swt.widgets.Control targetControl)
boolean isVisible()
org.eclipse.swt.graphics.Point getExtent()
void setNewShape()