ZENMobile.ZenASketch
class ZENMobile.ZenASketch extends %ZEN.Mobile.mobilePage
Created using the page template: DefaultMethod Inventory
- clearCanvas()
- initCanvas()
- ondevicemotionHandler()
- onloadHandler()
- ontouchmoveHandler()
- ontouchstartHandler()
- refreshCanvas()
- updateCanvas()
Parameters
parameter APPLICATION = ZENMobile.TestApplication;
Application this page belongs to.
parameter DEFAULTPREVENTGESTURES = 1;
Turn off scroll and zoom defaults
parameter DOMAIN = ZENTEST;
Inherited description: Set this to the correct domain.
parameter PAGENAME = Zen A Sketch;
Inherited description: Name of this page.
Methods
clientmethod clearCanvas() [ Language = javascript ]
Clear the screen
clientmethod initCanvas() [ Language = javascript ]
Initialize the canvas and save certain values for faster processing later
clientmethod ondevicemotionHandler(event) [ Language = javascript ]
Watch for a simple, face down shake to clear the screen.
clientmethod onloadHandler() [ Language = javascript ]
Inherited description: This client event, if present, is fired when the page is loaded.
clientmethod ontouchmoveHandler(event) [ Language = javascript ]
Process (potentially simultaneous) gestures on the knobs. Because
both 'knobs' operate independently but in parallel, it's actually
easier to process one combined event stream than to break out the
knobs into separate widgets (where the simultaneous nature of their
updates might be lost in an event queue. In effect, this is the
diffeence between using both controls in parallel to make a diagonal
line, versus using them serially to create a stair-stepping one.
clientmethod ontouchstartHandler(event) [ Language = javascript ]
Inherited description: This method may be redefined to specify custom handling of touch start events
clientmethod refreshCanvas() [ Language = javascript ]
Initialize and or refresh the canvas as needed
clientmethod updateCanvas() [ Language = javascript ]
Periodically update the canvas based on the movement deltas registered
since the last update.
Inherited Members
Inherited Properties
- %condition
- %import
- %includeFiles
- %page
- %resource
- align
- aux
- backgroundTimerInterval
- bodyScrollTop
- cellAlign
- cellSize
- cellStyle
- cellVAlign
- children
- composite
- containerStyle
- cssLevel
- disabled
- dragAndDrop
- dragEnabled
- dropEnabled
- enclosingClass
- enclosingStyle
- error
- extentHeight
- extentWidth
- groupClass
- groupStyle
- height
- hidden
- hideURLBar
- hint
- hintClass
- hintStyle
- id
- index
- label
- labelClass
- labelDisabledClass
- labelPosition
- labelStyle
- layout
- maxScale
- minScale
- name
- onafterdrag
- onbeforedrag
- onclick
- ondrag
- ondrop
- onhide
- onrefresh
- onshow
- onupdate
- parent
- preventDefaultGestures
- showLabel
- simulatedDeviceHeight
- simulatedDeviceWidth
- slice
- title
- tuple
- useSVG
- useSoftModals
- userScalable
- valign
- visible
- width
- window
- zenPersistentPopup
Inherited Methods
- %AddChild()
- %AddChildAfter()
- %AddChildBefore()
- %AddComponent()
- %AddImportedComponents()
- %AddToSaveSet()
- %ApplyURLParms()
- %Attr()
- %BindExport()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawAutoLogout()
- %DrawClassDefinitions()
- %DrawComponentHTML()
- %DrawHTML()
- %DrawHTMLPage()
- %DrawJSStrings()
- %DrawObjectDefinitions()
- %EnclosingDivId()
- %EndBackgroundMethod()
- %EndScript()
- %Eval()
- %EvalC()
- %Extends()
- %ForceClientRender()
- %GenerateMetaContent()
- %GetChildIndex()
- %GetComponent()
- %GetComponentById()
- %GetComponentByName()
- %GetEventHandlers()
- %GetLinks()
- %GetPageName()
- %GetParameter()
- %GetValueById()
- %GetValueByName()
- %GetXMLName()
- %IsA()
- %IsModified()
- %Link()
- %LinkCSS()
- %LinkScript()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnAfterCreatePage()
- %OnBeforeCreatePage()
- %OnCreateApplication()
- %OnCreatePage()
- %OnDetermineCSSLevel()
- %OnDrawEnclosingDiv()
- %OnDrawHTMLBody()
- %OnDrawHTMLHead()
- %OnDrawHTMLMeta()
- %OnDrawObjectProperties()
- %OnFinishBackgroundTask()
- %OnMonitorBackgroundTask()
- %OnMutateChildren()
- %OnObjectSynch()
- %OnPreHTTP()
- %OnSubmit()
- %OnUseSoftModals()
- %OnZENDeserialize()
- %OriginalNamespace()
- %PackageName()
- %QuoteValue()
- %QuoteValueL10N()
- %RemoveChild()
- %RemoveChildren()
- %RemoveComponent()
- %RemoveFromSaveSet()
- %RunBackgroundMethod()
- %Self()
- %SerializeObject()
- %SetBackgroundMethodStatus()
- %SetErrorById()
- %SetErrorByName()
- %SetModified()
- %SetValueById()
- %SetValueByName()
- %SetValuesByName()
- %StartScript()
- %ValidateObject()
- %ZENVersion()
- ConvertParameter()
- Decrypt()
- Encrypt()
- EscapeHTML()
- EscapeURL()
- HyperEventCall()
- HyperEventHead()
- Include()
- InsertHiddenField()
- InsertHiddenFields()
- IsPrivate()
- Link()
- OnHTTPHeader()
- OnPage()
- OnPageError()
- OnPostHTTP()
- OnPostHyperEvent()
- OnPreHTTP()
- OnPreHyperEvent()
- Page()
- QuoteJS()
- RewriteURL()
- ShowError()
- StartTimer()
- StopTimer()
- ThrowError()
- UnescapeHTML()
- UnescapeURL()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- addChild()
- addChildAfter()
- addChildBefore()
- cancelPopup()
- childrenMutated()
- correctIELayering()
- createComponent()
- createComponentNS()
- deleteComponent()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- endModal()
- exposeComponent()
- findElement()
- fireOnDeviceMotionEvent()
- fireOnLoadEvent()
- fireOnResizeEvent()
- fireOnRotateEvent()
- fireOnTouchStartEvent()
- fireOnUnloadEvent()
- fireOnUpdateEvent()
- firePopupAction()
- getBodyScrollTop()
- getChildIndex()
- getComponent()
- getComponentById()
- getEnclosingDiv()
- getHidden()
- getHintElement()
- getLabelElement()
- getNativeWindowHeight()
- getNativeWindowWidth()
- getOpener()
- getProperty()
- getSettings()
- getType()
- gotoPage()
- initDeviceInterface()
- invokeSuper()
- isDesktopBrowser()
- isOfType()
- launchPopupWindow()
- makeId()
- onCreate()
- onDelete()
- onDisplayHandler()
- onEndModalHandler()
- onPopupAction()
- onRefreshContents()
- onSerialize()
- onServerMethodCall()
- onServerMethodError()
- onServerMethodReturn()
- onStartModalHandler()
- ondisabledHandler()
- onkeydownHandler()
- onkeyupHandler()
- onlayoutHandler()
- onlogoutHandler()
- onoverlayHandler()
- onresizeHandler()
- onrotateHandler()
- ontouchendHandler()
- onunloadHandler()
- onupdateHandler()
- popupActionHandler()
- refreshContents()
- removeChild()
- render()
- renderContents()
- renderSVG()
- setComponentId()
- setHidden()
- setOverlayMode()
- setProperty()
- setPropertyAll()
- setTraceOption()
- startModal()
- startProgressBar()
- stopProgressBar()
- updateMetaSettings()