|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.3) E41654-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |
org.ecmascript.object.Object | +--oracle.adf.view.js.base.AdfObject | +--oracle.adf.view.js.agent.AdfTouchContextMenuManager | +--oracle.adfinternal.view.js.agent.safari.AdfSafariTouchContextMenuManager
public class AdfSafariTouchContextMenuManager extends AdfTouchContextMenuManager
AdfSafariMobileAgent.createContextMenuEventGenerator()
Field Summary |
|
---|---|
private static Object |
|
Fields inherited from oracle.adf.view.js.base.AdfObject |
constructor, superclass |
Fields inherited from org.ecmascript.object.Object |
prototype |
Constructor Summary |
|
---|---|
public |
Method Summary |
|
---|---|
public AdfComponentEvent |
|
public void |
|
protected void |
|
private void |
|
private void |
|
Methods inherited from oracle.adf.view.js.base.AdfObject |
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString |
Field Detail |
---|
private static Object _LONG_TOUCH_TIMEOUT
Constructor Detail |
---|
public AdfSafariTouchContextMenuManager()
Method Detail |
---|
public AdfComponentEvent deriveContextMenuEvent(AdfComponentEvent componentEvent)
AdfPage
service when redistributing native events into component events. Each component event will be passed into this function. The context menu event is generated from the "tap+hold" or "tap+hold+tap-up" gestures, depending on if a conflict with drag-and-drop exists. If both drag-and-drop and contextMenu are competing for the long-touch, queue the contextMenu event on "tap+hold+tap-up". Otherwise, queue the context menu event at the end of the long-touch, "tap+hold". The start touch resets the critera for deriving the contextMenu event. The user must hold the tap AdfComponentTouchEvent.TOUCH_START_EVENT_TYPE
for one second without movement AdfComponentTouchEvent.TOUCH_MOVE_EVENT_TYPE
to meet the condition for a "long-touch". In addtion, the tap must only be a single fingure gesture.componentEvent |
- | derives a contextMenu event from the componentEvent |
AdfComponentEvent
- component event of type AdfComponentEvent.CONTEXT_MENU_EVENT_TYPE
or null
AdfAgent.createContextMenuEventGenerator()
AdfTouchContextMenuManager.deriveContextMenuEvent(AdfComponentEvent)
public void dispose()
void
- nullAdfTouchContextMenuManager.dispose()
protected void Init()
void
- nullAdfObject.Init()
private void _longTouchHandler(AdfComponentTouchEvent componentEvent)
componentEvent |
- | "touchStart" event that has met the criteria of a long-touch |
void
- nullprivate void _longTouchTouchEndHandler()
void
- null
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.3) E41654-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |