Class SideBarToolTips
java.lang.Object
com.biglybt.ui.swt.views.skin.sidebar.SideBarToolTips
- All Implemented Interfaces:
UIUpdatable
,org.eclipse.swt.widgets.Listener
public class SideBarToolTips
extends Object
implements org.eclipse.swt.widgets.Listener, UIUpdatable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.swt.graphics.Point
(package private) org.eclipse.swt.widgets.Shell
private BaseMdiEntry
(package private) org.eclipse.swt.custom.CLabel
(package private) org.eclipse.swt.widgets.Shell
private final org.eclipse.swt.widgets.Tree
-
Constructor Summary
ConstructorsConstructorDescriptionSideBarToolTips
(SideBar sidebar, org.eclipse.swt.widgets.Tree tree) Initialize -
Method Summary
Modifier and TypeMethodDescriptionprivate String
getToolTip
(org.eclipse.swt.graphics.Point mousePos_RelativeToItem) A name for this UIUpdatable so we can track who's being badvoid
handleEvent
(org.eclipse.swt.widgets.Event event) private void
handleHover
(org.eclipse.swt.graphics.Point mousePos) void
updateUI()
Update your UI!
-
Field Details
-
toolTipShell
org.eclipse.swt.widgets.Shell toolTipShell -
mainShell
org.eclipse.swt.widgets.Shell mainShell -
toolTipLabel
org.eclipse.swt.custom.CLabel toolTipLabel -
tree
private final org.eclipse.swt.widgets.Tree tree -
mdiEntry
-
lastRelMouseHoverPos
private org.eclipse.swt.graphics.Point lastRelMouseHoverPos
-
-
Constructor Details
-
SideBarToolTips
Initialize
-
-
Method Details
-
handleEvent
public void handleEvent(org.eclipse.swt.widgets.Event event) - Specified by:
handleEvent
in interfaceorg.eclipse.swt.widgets.Listener
-
handleHover
private void handleHover(org.eclipse.swt.graphics.Point mousePos) - Since:
- 3.1.1.1
-
getToolTip
- Returns:
- Since:
- 3.1.1.1
-
getUpdateUIName
Description copied from interface:UIUpdatable
A name for this UIUpdatable so we can track who's being bad- Specified by:
getUpdateUIName
in interfaceUIUpdatable
- Returns:
- some name
-
updateUI
public void updateUI()Description copied from interface:UIUpdatable
Update your UI!- Specified by:
updateUI
in interfaceUIUpdatable
-