ZCS 6.0:Zimlet Developers Guide:Examples:Panel Item Clicked: Difference between revisions
(New page: {| cellspacing="0" cellpadding="5" style="border: 1px solid rgb(153, 153, 170); margin: 0pt 0.5em 0.5em 0pt; float: none; background-color: rgb(249, 249, 255);" |[[Image:zdg-6-menu-icon-zi...) |
No edit summary |
||
Line 16: | Line 16: | ||
== Description == | == Description == | ||
This zimlet will display in the Zimlet panel. | This zimlet will display in the Zimlet panel. Single-click or double-click with the left mouse button on the panel item and the Handler Object <code>singleClicked()</code> and <code>doubleClicked()</code> methods are called. | ||
== Definition File == | == Definition File == | ||
<pre> | <pre> | ||
<zimlet name=" | <zimlet name="com_zimbra_panelitemclicked" version="0.1" description="Demos panel item single and double clicked"> | ||
<include>com_zimbra_panelitemclicked.js</include> | |||
<handlerObject>com_zimbra_panelitemclickedHandlerObject</handlerObject> | |||
<zimletPanelItem label="Panel Item Clicked Zimlet"> | |||
<toolTipText>Single or Double Click</toolTipText> | |||
</zimletPanelItem> | |||
</zimlet> | </zimlet> | ||
</pre> | </pre> |
Revision as of 23:15, 14 December 2009
Introduction | Getting Started | Dev Environment Setup | Developing Zimlets | API Specifications | Example Zimlets |
Description
This zimlet will display in the Zimlet panel. Single-click or double-click with the left mouse button on the panel item and the Handler Object singleClicked()
and doubleClicked()
methods are called.
Definition File
<zimlet name="com_zimbra_panelitemclicked" version="0.1" description="Demos panel item single and double clicked"> <include>com_zimbra_panelitemclicked.js</include> <handlerObject>com_zimbra_panelitemclickedHandlerObject</handlerObject> <zimletPanelItem label="Panel Item Clicked Zimlet"> <toolTipText>Single or Double Click</toolTipText> </zimletPanelItem> </zimlet>
Download
Zimlet Package | com_zimbra_panelitemclicked.zip |