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 java.lang.Object implements org.eclipse.swt.widgets.Listener, UIUpdatable
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.swt.graphics.Point
lastRelMouseHoverPos
(package private) org.eclipse.swt.widgets.Shell
mainShell
private BaseMdiEntry
mdiEntry
(package private) org.eclipse.swt.custom.CLabel
toolTipLabel
(package private) org.eclipse.swt.widgets.Shell
toolTipShell
private org.eclipse.swt.widgets.Tree
tree
-
Constructor Summary
Constructors Constructor Description SideBarToolTips(SideBar sidebar, org.eclipse.swt.widgets.Tree tree)
Initialize
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.String
getToolTip(org.eclipse.swt.graphics.Point mousePos_RelativeToItem)
java.lang.String
getUpdateUIName()
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 Detail
-
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
private BaseMdiEntry mdiEntry
-
lastRelMouseHoverPos
private org.eclipse.swt.graphics.Point lastRelMouseHoverPos
-
-
Constructor Detail
-
SideBarToolTips
public SideBarToolTips(SideBar sidebar, org.eclipse.swt.widgets.Tree tree)
Initialize
-
-
Method Detail
-
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
private java.lang.String getToolTip(org.eclipse.swt.graphics.Point mousePos_RelativeToItem)
- Returns:
- Since:
- 3.1.1.1
-
getUpdateUIName
public java.lang.String 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
-
-