Class ZmStatusView
Extends
DwtControl.
This class represents the status view.
Defined in: ZmStatusView.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Creates the status view.
|
Field Summary
Field Attributes |
Field Name and Description |
<static> |
Defines the "critical" status level.
|
<static> |
Defines the "informational" status level.
|
<static> |
Defines the "warning" status level.
|
Method Summary
Method Attributes |
Method Name and Description |
|
setStatusMsg(msg, level, detail, transitions, toast, force, dismissCallback, finishCallback)
Displays a status message.
|
- Methods borrowed from class DwtControl:
- addClassName, addControlListener, addDisposeListener, addListener, appendElement, blur, clearContent, clearHandler, condClassName, delClassName, dispose, focus, getBounds, getClassName, getContent, getCursor, getData, getDragBox, getDragSource, getDropTarget, getEnabled, getFocusElement, getH, getHtmlElement, getHTMLElId, getInsetBounds, getInsets, getLocation, getMargins, getOpacity, getOuterSize, getPosition, getScrollContainer, getScrollStyle, getSize, getTabGroupMember, 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
ZmStatusView(parent, className, posStyle, id)
Creates the status view.
- Parameters:
-
{DwtControl} parent
- the parent
-
{String} className
- the class name
-
{constant} posStyle
- the position style
-
{String} id
- the id
Field Detail
<static>
ZmStatusView.LEVEL_CRITICAL
Defines the "critical" status level.
<static>
ZmStatusView.LEVEL_INFO
Defines the "informational" status level.
<static>
ZmStatusView.LEVEL_WARNING
Defines the "warning" status level.
Method Detail
setStatusMsg(msg, level, detail, transitions, toast, force, dismissCallback, finishCallback)
Displays a status message.
- Parameters:
-
{String} msg
- the message
-
{constant} level
Optional
- the level (see ZmStatusView
.LEVEL_ constants)
-
{String} detail
Optional
- the details
-
{String} transitions
Optional
- the transitions (see ZmToast)
-
{String} toast
Optional
- the toast control
-
{boolean} force
Optional
- force any displayed toasts out of the way
-
{AjxCallback} dismissCallback
Optional
- callback to run when the toast is dismissed (by another message using [force], or explicitly calling ZmStatusView.prototype.dismiss())
-
{AjxCallback} finishCallback
Optional
- callback to run when the toast finishes its transitions by itself (not when dismissed)
|