Zimlet JavaScript API Reference - ZmToast

Class ZmToast


Extends DwtComposite.

This class represents the "toaster".

Defined in: ZmStatusView.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZmToast(parent, id)
Creates the "toaster".
Field Summary
Field Attributes Field Name and Description
<static>  
ZmToast.FADE
Defines the "fade" transition.
<static>  
ZmToast.FADE_IN
Defines the "fade-in" transition.
<static>  
ZmToast.FADE_OUT
Defines the "fade-out" transition.
<static>  
ZmToast.HOLD
Defines the "hold" transition.
<static>  
ZmToast.IDLE
Defines the "idle" transition.
<static>  
ZmToast.PAUSE
Defines the "pause" transition.
<static>  
ZmToast.SHOW
Defines the "show" transition.
<static>  
ZmToast.SLIDE
Defines the "slide" transition.
<static>  
ZmToast.SLIDE_IN
Defines the "slide-in" transition.
<static>  
ZmToast.SLIDE_OUT
Defines the "slide-out" transition.
Method Summary
Method Attributes Method Name and Description
 
Dismiss (continue) a held or paused toast (Given that ZmToast.DISMISSABLE_STATES agrees).
Methods borrowed from class DwtComposite:
addChild, cleanupSeparators, clear, 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, setSize, setToolTipContent, setVisibility, setVisible, setZIndex, showAlert, zShow
Class Detail
ZmToast(parent, id)
Creates the "toaster".
Parameters:
parent
id
Field Detail
<static> ZmToast.FADE
Defines the "fade" transition.

<static> ZmToast.FADE_IN
Defines the "fade-in" transition.

<static> ZmToast.FADE_OUT
Defines the "fade-out" transition.

<static> ZmToast.HOLD
Defines the "hold" transition.

<static> ZmToast.IDLE
Defines the "idle" transition.

<static> ZmToast.PAUSE
Defines the "pause" transition.

<static> ZmToast.SHOW
Defines the "show" transition.

<static> ZmToast.SLIDE
Defines the "slide" transition.

<static> ZmToast.SLIDE_IN
Defines the "slide-in" transition.

<static> ZmToast.SLIDE_OUT
Defines the "slide-out" transition.
Method Detail
dismiss()
Dismiss (continue) a held or paused toast (Given that ZmToast.DISMISSABLE_STATES agrees). If not yet held or paused, those states will be skipped when they occur

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