Package com.iizigo.swt
Class IzToolTip
java.lang.Object
com.iizigo.swt.IzToolTip
The tooltip text class.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionvoiddispose()Disposes of the tooltip.voidsetHideTimeout(boolean on) Sets using hide timeout.voidsetHTMLText(String text) Sets the HTML text with the KString adapter for Font Face support.voidsetJavaMember(org.eclipse.jdt.core.IMember member) Sets a Java member to show as HTML from its JavaDoc.voidSets the DesignerProp as the tooltip creator for the contents area.voidsetProperty(DesignerProp dp, IzToolTipPropEnhancer enhancer) Sets the DesignerProp as the tooltip creator for the contents area.voidsetText(KString ks, KStringInfoProviderAdapter adapter) Sets the HTML text with the KString adapter for Font Face support.voidSets the text with options 0=normal text, 1=text with fixed font, 2=text in HTML.voidsetText(String text, int type, KStringInfoProviderAdapter adapter) Sets the text with options 0=normal text, 1=text with fixed font, 2=text in HTML.voidsetUseSystem(boolean on) Sets using the System tooltip for normal non-fixed font, default is true.
Constructor Details
IzToolTip
public IzToolTip(org.eclipse.swt.widgets.Control control) Constructs the tooltip that is using the system tooltip for normal text.- Parameters:
control- The owner of the tooltip.
IzToolTip
public IzToolTip(org.eclipse.swt.widgets.Control control, boolean useSystem) Constructs the tooltip.- Parameters:
control- The owner of the tooltip.useSystem- If system tooltips should be used.
Method Details
dispose
public void dispose()Disposes of the tooltip.setHideTimeout
public void setHideTimeout(boolean on) Sets using hide timeout.setUseSystem
public void setUseSystem(boolean on) Sets using the System tooltip for normal non-fixed font, default is true.setHTMLText
Sets the HTML text with the KString adapter for Font Face support. This cancels creation of the tooltip using a DesignerProp.setText
Sets the HTML text with the KString adapter for Font Face support. This cancels creation of the tooltip using a DesignerProp.setText
Sets the text with options 0=normal text, 1=text with fixed font, 2=text in HTML. This cancels creation of the tooltip using a DesignerProp.setText
Sets the text with options 0=normal text, 1=text with fixed font, 2=text in HTML. This cancels creation of the tooltip using a DesignerProp.setProperty
Sets the DesignerProp as the tooltip creator for the contents area. This will cancel tooltip text as text/HTML.setProperty
Sets the DesignerProp as the tooltip creator for the contents area. This will cancel tooltip text as text/HTML.setJavaMember
public void setJavaMember(org.eclipse.jdt.core.IMember member) Sets a Java member to show as HTML from its JavaDoc.