Tooltips, Context Menus and Popups

From Documentation
Revision as of 09:19, 21 December 2010 by Tomyeh (talk | contribs)


DocumentationZK Developer's ReferenceUI PatternsTooltips, Context Menus and Popups
Tooltips, Context Menus and Popups


The support of tooltips, context menus and popups are generic. Any component inherited from XulElement can handle them in the same way.

Tooltips

To provide a custom tooltip, you could specify the ID of the custom tooltip in the target component's tooltip (XulElement.setTooltip(String) or XulElement.setTooltip(Popup)).

Notice that if you'd like to have different text for the tooltip (rather than a fully customized look), you shall use HtmlBasedComponent.setTooltiptext(String) instead (which is easier to use).

Context Menus

Popups

Version History

Last Update : 2010/12/21


Version Date Content
     



Last Update : 2010/12/21

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.