Class IzToolTipImpl


public class IzToolTipImpl extends DefaultToolTip
The tooltip implementor class controlled by IzToolTip.
Author:
Christopher Mindus
  • Field Details Link icon

  • Constructor Details Link icon

    • IzToolTipImpl Link icon

      public IzToolTipImpl(Control control, boolean useHideTimeout)
      Constructs the tooltip.
      Parameters:
      control - The owner of the tooltip.
    • IzToolTipImpl Link icon

      public IzToolTipImpl(Control control, boolean useRegions, boolean useHideTimeout)
      Constructs the tooltip.
      Parameters:
      control - The owner of the tooltip.
  • Method Details Link icon

    • setHideTimeout Link icon

      public void setHideTimeout(boolean on)
      Sets using hide timeout.
    • createToolTipContentArea Link icon

      protected Composite createToolTipContentArea(Event event, Composite parent)
      Creates the tooltip content area for HTML.
      Overrides:
      createToolTipContentArea in class DefaultToolTip
    • ksetText Link icon

      public void ksetText(String text, int type)
      Sets the text, type is 0=normal text, 1=text with fixed font, 2=text in HTML.
    • setText Link icon

      public 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.
    • setProperty Link icon

      public void setProperty(DesignerProp dp)
      Sets the DesignerProp as the tooltip creator for the contents area. This will cancel tooltip text as text/HTML.
    • setProperty Link icon

      public void setProperty(DesignerProp dp, IzToolTipPropEnhancer enhancer)
      Sets the DesignerProp as the tooltip creator for the contents area. This will cancel tooltip text as text/HTML.
    • setProperty Link icon

      public void setProperty(GProp<?> gp)
      Sets the property as the tooltip creator for the contents area. This will cancel tooltip text as text/HTML.
    • setJavaMember Link icon

      public void setJavaMember(IMember member)
      Sets a Java member to show as HTML from its JavaDoc.
    • createJavaDocComposite Link icon

      public static Composite createJavaDocComposite(Composite topMost, Composite parent, IMember member)
      Creates a JavaDoc tooltip composite for a member.
      Parameters:
      parent - The parent composite.
      member - The member.
      Returns:
      null if not possible.
    • createHTMLComposite Link icon

      public static Composite createHTMLComposite(Composite topMost, Composite parent, KString kstring, KStringInfoProviderAdapter adapter)
      Creates a HTML composite for HTML preview.