Zimlet JavaScript API Reference - ZmContactSplitView

Class ZmContactSplitView


Extends DwtComposite.

This class represents the contact split view.

Defined in: ZmContactSplitView.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a contact split view.
Method Summary
Method Attributes Method Name and Description
 
Clears the view.
 
Enables the alphabet bar.
 
Gets the alphabet bar.
 
Gets the controller.
 
getLimit(offset)
Gets the size limit.
 
Gets the list view.
 
Gets the title.
 
setContact(contact, isGal)
Sets the contact.
 
setSize(width, height)
Sets the view size.
 
showAlphabetBar(visible)
shows/hides the alphabet bar.
<static>  
ZmContactSplitView.showContactGroup(data)
Displays contact group
Methods borrowed from class DwtComposite:
addChild, cleanupSeparators, dispose, getChild, getChildren, getNumChildren, getTabGroupMember, removeChild, removeChildren
Methods borrowed from class DwtControl:
addClassName, addControlListener, addDisposeListener, addListener, appendElement, blur, clearContent, clearHandler, condClassName, delClassName, focus, getBounds, getClassName, getContent, getCursor, getData, getDragBox, getDragSource, getDropTarget, getEnabled, getFocusElement, getH, getHtmlElement, getHTMLElId, getInsetBounds, getInsets, getLocation, getMargins, getOpacity, getOuterSize, getPosition, getScrollContainer, getScrollStyle, getSize, getTooltipBase, getToolTipContent, getVisibility, getVisible, getW, getX, getXW, getY, getYH, getZIndex, hasFocus, isAlertShown, isDisposed, isInitialized, isListenerRegistered, notifyListeners, preventContextMenu, preventSelection, removeAllListeners, removeControlListener, removeDisposeListener, removeListener, reparent, reparentHtmlElement, replaceElement, setBounds, setClassName, setContent, setCursor, setData, setDisplay, setDisplayState, setDragBox, setDragSource, setDropTarget, setEnabled, setEventPropagation, setFocusElement, setHandler, setHtmlElementId, setLocation, setOpacity, setPosition, setScrollStyle, setToolTipContent, setVisibility, setVisible, setZIndex, showAlert, zShow
Class Detail
ZmContactSplitView(params)
Creates a contact split view.
Parameters:
{Hash} params
a hash of parameters
Method Detail
clear()
Clears the view.

enableAlphabetBar(enable)
Enables the alphabet bar.
Parameters:
{Boolean} enable
if true, enable the alphabet bar

{ZmContactAlphabetBar} getAlphabetBar()
Gets the alphabet bar.
Returns:
{ZmContactAlphabetBar} the alphabet bar

{ZmContactController} getController()
Gets the controller.
Returns:
{ZmContactController} the controller

{int} getLimit(offset)
Gets the size limit.
Parameters:
{int} offset
the offset
Returns:
{int} the size

{ZmContactSimpleView} getListView()
Gets the list view.
Returns:
{ZmContactSimpleView} the list view

{String} getTitle()
Gets the title.
Returns:
{String} the title

setContact(contact, isGal)
Sets the contact.
Parameters:
{ZmContact} contact
the contact
{Boolean} isGal
true if is GAL

setSize(width, height)
Sets the view size.
Parameters:
{int} width
the width (in pixels)
{int} height
the height (in pixels)

showAlphabetBar(visible)
shows/hides the alphabet bar.
Parameters:
{Boolean} visible
if true, show the alphabet bar

<static> ZmContactSplitView.showContactGroup(data)
Displays contact group
Parameters:
data
{object}
Returns:
html {String} html representation of group

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