Drag[en]gine Script Module DragonScript
1.23
|
Tracks desktop mouse pointer events to display tool tips. More...
Classes | |
class | ListenMousePointer |
Public Member Functions | |
void | dispose () |
Dispose of tool tip manager. More... | |
Desktop | getDesktop () |
Desktop to listen on. More... | |
WindowToolTip | getPopup () |
Popup window. More... | |
Object | getToolTip () |
Shown tool tip or null. More... | |
ToolTipManager | new (Desktop desktop) |
Create tool tip manager. More... | |
void | onToolTipChanged () |
Tool tip changed. More... | |
void | update () |
Update tool tip. More... | |
Public Attributes | |
Desktop | pDesktop |
WindowToolTip | pPopup |
Object | pToolTip |
Protected Member Functions | |
Point | calculateToolTipPosition () |
Calculate position to show tool tip at. More... | |
void | setPopup (WindowToolTip popup) |
Set popup window. More... | |
void | setToolTip (Object toolTip) |
Set tool tip to show or null. More... | |
void | updatePopup () |
Update popup window content. More... | |
Tracks desktop mouse pointer events to display tool tips.
Supports tool tips of type String and StyledTextDocument
|
protected |
Calculate position to show tool tip at.
Position is located at lower left corner of mouse pointer. If mouse pointer is null the mouse pointer size is considered to be 0
void Dragengine.Gui.ToolTipManager.dispose | ( | ) |
Dispose of tool tip manager.
WindowToolTip Dragengine.Gui.ToolTipManager.getPopup | ( | ) |
Popup window.
Object Dragengine.Gui.ToolTipManager.getToolTip | ( | ) |
Shown tool tip or null.
ToolTipManager Dragengine.Gui.ToolTipManager.new | ( | Desktop | desktop | ) |
Create tool tip manager.
desktop | Desktop widget to listen on. |
void Dragengine.Gui.ToolTipManager.onToolTipChanged | ( | ) |
Tool tip changed.
|
protected |
Set popup window.
Disposes of the previous popup window if present.
|
protected |
Set tool tip to show or null.
void Dragengine.Gui.ToolTipManager.update | ( | ) |
Update tool tip.
|
protected |
Update popup window content.
Desktop Dragengine.Gui.ToolTipManager.pDesktop |
WindowToolTip Dragengine.Gui.ToolTipManager.pPopup |
Object Dragengine.Gui.ToolTipManager.pToolTip |