public class IzToolTip extends Object
Constructor and Description |
---|
IzToolTip(Control control)
Constructs the tooltip that is using the system tooltip for normal text.
|
IzToolTip(Control control,
boolean useSystem)
Constructs the tooltip.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
setProperty(DesignerProp dp)
Sets 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.
|
void |
setText(String text,
int type)
Sets 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.
|
public IzToolTip(Control control)
control
- The owner of the tooltip.public IzToolTip(Control control, boolean useSystem)
control
- The owner of the tooltip.useSystem
- If system tooltips should be used.public void dispose()
public void setHideTimeout(boolean on)
public void setUseSystem(boolean on)
public void setHTMLText(String text)
public void setText(KString ks, KStringInfoProviderAdapter adapter)
public void setText(String text, int type)
public void setText(String text, int type, KStringInfoProviderAdapter adapter)
public void setProperty(DesignerProp dp)
public void setProperty(DesignerProp dp, IzToolTipPropEnhancer enhancer)
public void setJavaMember(IMember member)
iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.