JavaScript API Reference for Oracle ADF Faces
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.
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 |
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 |
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()
public Object unregister()
Must be invoked to clean up stored state when your element no longer needs to listen to touch movements.
- Return:
Object
Generated on 2010.03.26 00:15 UTC
Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.