Search
Tool-Tips

Tool-tips are short text messages displayed when the mouse pointer hovers over a diagram item for a while.

Tool-tips can be defined for each diagram element and for the whole document. If the mouse pointer stands still and it points to an item, then the tool-tip of the item is displayed. The tool-tip of the diagram appears if there is no item under the cursor or if there is an item but there isn't any tool-tip text defined for it. To associate a tool-tip with the diagram, use the setToolTip method. To associate tool-tips with individual items, use DiagramItem.setToolTip.

The tooltips can display HTML content, including links, images and formatted text. To enable this, enclose the tooltips' text between <html> and </html> tags, and then use HTML formatting tags as you would do in a web page.

Tool-tip's text is also used as a value of the ALT attribute of image map areas corresponding to items; see HtmlBuilder for more information.