%ZEN.Component.timer
deprecated class %ZEN.Component.timer extends %ZEN.Component.component
Client-side timer object. This component automatically creates a javascript timer object within the client and initializes it when the page is first loaded. The timer is one-shot; after it fires its ontimeout event, you must restart it by calling the client startTimer() method.Property Inventory
Method Inventory
Parameters
parameter DEFAULTVISIBLE = 0;
this component is not visible.
Properties
property ontimeout as %ZEN.Datatype.eventHandler;
ontimeout event handler:
Client code to run when timeout expires.
Property methods: ontimeoutDisplayToLogical(), ontimeoutGet(), ontimeoutIsValid(), ontimeoutLogicalToDisplay(), ontimeoutLogicalToOdbc(), ontimeoutNormalize(), ontimeoutSet()
property timeout as %ZEN.Datatype.integer (MINVAL = 0);
Timeout value (in milliseconds).
Setting this to 0 will disable the timer.
Setting this to 0 will disable the timer.
Property methods: timeoutDisplayToLogical(), timeoutGet(), timeoutIsValid(), timeoutLogicalToDisplay(), timeoutLogicalToOdbc(), timeoutNormalize(), timeoutSet()
Methods
clientmethod clearTimer() [ Language = javascript ]
Clear the timer object used by this component.
clientmethod onDelete() [ Language = javascript ]
This client method, if present, is called when this component is
removed from the page.
clientmethod onloadHandler() [ Language = javascript ]
This client event is fired when the page is loaded.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
clientmethod startTimer() [ Language = javascript ]
Start the timer.
Inherited Members
Inherited Properties
- %condition
 - %import
 - %includeFiles
 - %page
 - %resource
 - align
 - aux
 - composite
 - containerStyle
 - dragEnabled
 - dropEnabled
 - enclosingClass
 - enclosingStyle
 - error
 - height
 - hidden
 - hint
 - hintClass
 - hintStyle
 - id
 - index
 - label
 - labelClass
 - labelDisabledClass
 - labelStyle
 - name
 - onafterdrag
 - onbeforedrag
 - ondrag
 - ondrop
 - onhide
 - onrefresh
 - onshow
 - onupdate
 - parent
 - showLabel
 - slice
 - title
 - tuple
 - valign
 - visible
 - width
 - window
 
Inherited Methods
- %AddToSaveSet()
 - %Attr()
 - %BindExport()
 - %ClassIsLatestVersion()
 - %ClassName()
 - %ConstructClone()
 - %DispatchClassMethod()
 - %DispatchGetModified()
 - %DispatchGetProperty()
 - %DispatchMethod()
 - %DispatchSetModified()
 - %DispatchSetMultidimProperty()
 - %DispatchSetProperty()
 - %DrawComponentHTML()
 - %DrawHTML()
 - %DrawJSStrings()
 - %EnclosingDivId()
 - %Eval()
 - %EvalC()
 - %Extends()
 - %ForceClientRender()
 - %GetEventHandlers()
 - %GetParameter()
 - %GetXMLName()
 - %IsA()
 - %IsModified()
 - %MakeId()
 - %New()
 - %NormalizeObject()
 - %ObjectModified()
 - %OnAddToPageAfter()
 - %OnAddToPageBefore()
 - %OnDrawEnclosingDiv()
 - %OnDrawObjectProperties()
 - %OnObjectSynch()
 - %OnZENDeserialize()
 - %OriginalNamespace()
 - %PackageName()
 - %QuoteValue()
 - %QuoteValueL10N()
 - %RemoveFromSaveSet()
 - %Self()
 - %SerializeObject()
 - %SetModified()
 - %ValidateObject()
 - XMLDTD()
 - XMLExport()
 - XMLExportToStream()
 - XMLExportToString()
 - XMLNew()
 - XMLSchema()
 - XMLSchemaNamespace()
 - XMLSchemaType()
 - dragFinishHandler()
 - dragHandler()
 - dragNotifyHandler()
 - dragStartHandler()
 - dropHandler()
 - dropStartHandler()
 - exposeComponent()
 - findElement()
 - fireOnUpdateEvent()
 - getEnclosingDiv()
 - getHidden()
 - getHintElement()
 - getLabelElement()
 - getProperty()
 - getSettings()
 - getType()
 - invokeSuper()
 - isOfType()
 - makeId()
 - onCreate()
 - onDisplayHandler()
 - onEndModalHandler()
 - onPopupAction()
 - onRefreshContents()
 - onSerialize()
 - onStartModalHandler()
 - onunloadHandler()
 - onupdateHandler()
 - refreshContents()
 - render()
 - renderContents()
 - renderSVG()
 - setHidden()
 - setOverlayMode()
 - startProgressBar()
 - stopProgressBar()