Package com.iizigo.swt
Class IzToolTip
java.lang.Object
com.iizigo.swt.IzToolTip
The tooltip text class.
- Author:
- Christopher Mindus
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- void- dispose()Disposes of the tooltip.- void- setHideTimeout- (boolean on) Sets using hide timeout.- void- setHTMLText- (String text) Sets the HTML text with the KString adapter for Font Face support.- void- setJavaMember- (IMember member) Sets a Java member to show as HTML from its JavaDoc.- voidSets the DesignerProp as the tooltip creator for the contents area.- void- setProperty- (DesignerProp dp, IzToolTipPropEnhancer enhancer) Sets the DesignerProp as the tooltip creator for the contents area.- void- setText- (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.- void- setText- (String text, int type, KStringInfoProviderAdapter adapter) Sets the text with options 0=normal text, 1=text with fixed font, 2=text in HTML.- void- setUseSystem- (boolean on) Sets using the System tooltip for normal non-fixed font, default is true.
- Constructor Details- IzToolTipConstructs the tooltip that is using the system tooltip for normal text.- Parameters:
- control- The owner of the tooltip.
 
- IzToolTipConstructs the tooltip.- Parameters:
- control- The owner of the tooltip.
- useSystem- If system tooltips should be used.
 
 
- Method Details- disposepublic void dispose()Disposes of the tooltip.
- setHideTimeoutpublic void setHideTimeout- (boolean on) Sets using hide timeout.
- setUseSystempublic void setUseSystem- (boolean on) Sets using the System tooltip for normal non-fixed font, default is true.
- setHTMLTextSets the HTML text with the KString adapter for Font Face support. This cancels creation of the tooltip using a DesignerProp.
- setTextSets the HTML text with the KString adapter for Font Face support. This cancels creation of the tooltip using a DesignerProp.
- setTextSets 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.
- setTextSets 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.
- setPropertySets the DesignerProp as the tooltip creator for the contents area. This will cancel tooltip text as text/HTML.
- setPropertySets the DesignerProp as the tooltip creator for the contents area. This will cancel tooltip text as text/HTML.
- setJavaMemberSets a Java member to show as HTML from its JavaDoc.