Zimlet JavaScript API Reference - ZmZimletTreeController

Class ZmZimletTreeController


Extends ZmTreeController.

This class represents a Zimlet tree controller.

Defined in: ZmZimletTreeController.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a Zimlet tree controller.
Method Summary
Method Attributes Method Name and Description
 
addSelectionListener(overviewId, listener)
Adds a selection listener.
 
Gets the tree style.
 
removeSelectionListener(overviewId, listener)
Removes the selection listener.
 
Sets the tool tip text.
Methods borrowed from class ZmTreeController:
clearTreeView, dispose, getDataTree, getDropTarget, getTreeView, show, toString
Methods borrowed from class ZmController:
getApp, getCurrentViewId, getCurrentViewType, getKeyMapName, getNewFolderCallback, getSessionId, getTabGroup, getViewElements, handleKeyAction, isTransient, mapSupported, popupErrorDialog, popupUploadErrorDialog, setCurrentViewId, setCurrentViewType, setSessionId
Class Detail
ZmZimletTreeController()
Creates a Zimlet tree controller.
Method Detail
addSelectionListener(overviewId, listener)
Adds a selection listener.
Parameters:
{constant} overviewId
the overview id
{AjxListener} listener
the listener to add

{constant} getTreeStyle()
Gets the tree style.
Returns:
{constant} the style
See:
DwtTree.SINGLE_STYLE

removeSelectionListener(overviewId, listener)
Removes the selection listener.
Parameters:
{constant} overviewId
the overview id
{AjxListener} listener
the listener to remove

setToolTipText(item)
Sets the tool tip text.
Parameters:
{object} item
the item

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:37 GMT-0400 (EDT)