Package com.iizigo.swt
Class IzToolTipImpl
java.lang.Object
org.eclipse.jface.window.ToolTip
org.eclipse.jface.window.DefaultToolTip
com.iizigo.swt.IzToolTipImpl
The tooltip implementor class controlled by 
IzToolTip.- Author:
- Christopher Mindus
- Field SummaryFields- Fields inherited from class org.eclipse.jface.window.ToolTip- NO_RECREATE, RECREATE
- Constructor SummaryConstructorsConstructorDescription- IzToolTipImpl- (Control control, boolean useHideTimeout) Constructs the tooltip.- IzToolTipImpl- (Control control, boolean useRegions, boolean useHideTimeout) Constructs the tooltip.
- Method SummaryModifier and TypeMethodDescription- static Composite- createHTMLComposite- (Composite topMost, Composite parent, KString kstring, KStringInfoProviderAdapter adapter) Creates a HTML composite for HTML preview.- static Composite- createJavaDocComposite- (Composite topMost, Composite parent, IMember member) Creates a JavaDoc tooltip composite for a member.- protected Composite- createToolTipContentArea- (Event event, Composite parent) Creates the tooltip content area for HTML.- voidSets the text, type is 0=normal text, 1=text with fixed font, 2=text in HTML.- void- setHideTimeout- (boolean on) Sets using hide timeout.- 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- setProperty- (GProp<?> gp) Sets the property as the tooltip creator for the contents area.- void- setText- (String text, int type, KStringInfoProviderAdapter adapter) Sets the text, type is 0=normal text, 1=text with fixed font, 2=text in HTML.- Methods inherited from class org.eclipse.jface.window.DefaultToolTip- getBackgroundColor, getBackgroundImage, getFont, getForegroundColor, getImage, getStyle, getText, setBackgroundColor, setBackgroundImage, setFont, setForegroundColor, setImage, setStyle, setText- Methods inherited from class org.eclipse.jface.window.ToolTip- activate, afterHideToolTip, deactivate, getData, getLocation, getToolTipArea, hide, isHideOnMouseDown, isRespectDisplayBounds, isRespectMonitorBounds, setData, setHideDelay, setHideOnMouseDown, setPopupDelay, setRespectDisplayBounds, setRespectMonitorBounds, setShift, shouldCreateToolTip, show
- Field Details- KEYThe key.- See Also:
 
 
- Constructor Details- IzToolTipImplConstructs the tooltip.- Parameters:
- control- The owner of the tooltip.
 
- IzToolTipImplConstructs the tooltip.- Parameters:
- control- The owner of the tooltip.
 
 
- Method Details- setHideTimeoutpublic void setHideTimeout- (boolean on) Sets using hide timeout.
- createToolTipContentAreaCreates the tooltip content area for HTML.- Overrides:
- createToolTipContentAreain class- DefaultToolTip
 
- ksetTextSets the text, type is 0=normal text, 1=text with fixed font, 2=text in HTML.
- setTextSets the text, type is 0=normal text, 1=text with fixed font, 2=text in HTML.
- 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.
- setPropertySets the property 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.
- createJavaDocCompositeCreates a JavaDoc tooltip composite for a member.- Parameters:
- parent- The parent composite.
- member- The member.
- Returns:
- null if not possible.
 
- createHTMLCompositepublic static Composite createHTMLComposite- (Composite topMost, Composite parent, KString kstring, KStringInfoProviderAdapter adapter) Creates a HTML composite for HTML preview.