Zimlet JavaScript API Reference - ZmAppButton

Class ZmAppButton


Extends DwtButton.

This class represents a button that behaves like a "tab" button, designed specifically for the row of applications buttons at the top of the Zimbra Web Client interface.

Limitations:

  • cannot have a menu
  • does not support enabled/disabled



Defined in: ZmAppButton.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZmAppButton(params)
Method Summary
Method Attributes Method Name and Description
 
Sets the display state.
 
Returns a string representation of the object.
Methods borrowed from class DwtButton:
addDropDownSelectionListener, addSelectionListener, dispose, getKeyMapName, getMenu, handleKeyAction, isToggled, popup, removeDropDownSelectionListener, removePullDownMenuOptions, removeSelectionListener, removeSelectionListeners, resetClassName, setActionTiming, setDepressedImage, setDropDownHovImage, setDropDownImages, setEnabled, setEnabledImage, setHovered, setHoverImage, setImage, setMenu, setSelected, setText
Methods borrowed from class DwtLabel:
getImage, getText, isStyle, setAlign, setDisabledImage, setIconEl, setTextBackground, setTextForeground
Methods borrowed from class DwtComposite:
addChild, cleanupSeparators, clear, 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, setDragBox, setDragSource, setDropTarget, setEventPropagation, setFocusElement, setHandler, setHtmlElementId, setLocation, setOpacity, setPosition, setScrollStyle, setSize, setToolTipContent, setVisibility, setVisible, setZIndex, showAlert, zShow
Class Detail
ZmAppButton(params)

Author: Conrad Damon.
Parameters:
{Hash} params
a hash of parameters
Method Detail
setDisplayState(state)
Sets the display state.
Parameters:
{String} state
the display state
See:
DwtControl

{String} toString()
Returns a string representation of the object.
Returns:
{String} a string representation of the object

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