OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adf.view.js.agent
Class AdfTouchMoveManager

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adf.view.js.agent.AdfTouchMoveManager
Direct Known Subclasses:
AdfSafariTouchMoveManager

public class AdfTouchMoveManager
extends AdfObject
AdfTouchMoveManager is a manager for handling touch movements.



Field Summary


Fields inherited from oracle.adf.view.js.base.AdfObject

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfTouchMoveManager(HTMLElement element, Function handlerCallback, Number touchCount)
AdfTouchMoveManager is a manager for handling touch movements.


Method Summary

protected Object
Init(HTMLElement element, Function handlerCallback, Number touchCount)
Constructs an AdfTouchMoveManager for handling touch movements.
public Object
unregister()
Must be invoked to clean up stored state when your element no longer needs to listen to touch movements.


Methods inherited from oracle.adf.view.js.base.AdfObject

adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString


Field Detail


Constructor Detail


AdfTouchMoveManager

public AdfTouchMoveManager(HTMLElement element,
                           Function handlerCallback,
                           Number touchCount)

AdfTouchMoveManager is a manager for handling touch movements.

Parameters:
element  -  the element for which touches will be listened
handlerCallback  -  a function that will be invoked when a touch movement occurs with a non-zero movement, the first parameter is the average delta x movement, the second parameter is the average delta y movement
touchCount  -  the exact number of touches that must move for the handlerCallback to be invoked

Method Detail


Init

protected Object Init(HTMLElement element,
                      Function handlerCallback,
                      Number touchCount)

Constructs an AdfTouchMoveManager for handling touch movements.

Parameters:
element  -  the element for which touches will be listened
handlerCallback  -  a function that will be invoked when a touch movement occurs with a non-zero movement, the first parameter is the average delta x movement, the second parameter is the average delta y movement
touchCount  -  the exact number of touches that must move for the handlerCallback to be invoked
Return:
Object
Overrides:
AdfObject.Init()

unregister

public Object unregister()

Must be invoked to clean up stored state when your element no longer needs to listen to touch movements.

Return:
Object

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2012.08.25 02:16 UTC
Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.