JavaScript API Reference for Oracle ADF Faces
oracle.adf.view.js.dnd.desktop
Class AdfDragRecognizer
org.ecmascript.object.Object
|
+--oracle.adf.view.js.base.AdfObject
|
+--oracle.adf.view.js.dnd.desktop.AdfDragRecognizer
- Direct Known Subclasses:
- AdfInputNumberSliderDragRecognizer, AdfPanelBoxDragRecognizer
public class AdfDragRecognizer
extends AdfObject
Strategy Class for recognizing drags based on AdfComponentEvents. In general, programmers shouldn't have to deal with this class.
Constructor Summary
|
public |
AdfDragRecognizer()
-
Strategy Class for recognizing drags based on AdfComponentEvents.
|
Methods inherited from oracle.adf.view.js.base.AdfObject
|
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, Init, toDebugString, toString |
public AdfDragRecognizer()
Strategy Class for recognizing drags based on AdfComponentEvents. In general, programmers shouldn't have to deal with this class.
public Object abortPrep(Object prepContext,
Object inputEvent)
Returns true if the current prepped drag should be aborted
- Parameters:
-
- Return:
Object
public Object prepDrag(Object dndContext,
Object dragSource,
Object inputEvent)
Called by the AdfDnDContext when drag might be initiated. Returns a private prepContext object if this event could start a drag. The prepContext object will be passed back to the recognizeDrag and abortPrep callbacks.
- Parameters:
-
dndContext |
|
|
dragSource |
|
|
inputEvent |
|
|
- Return:
Object
public Object recognizeDrag(Object prepContext,
Object inputEvent)
Determine whether a possible drag has turned into a drag or not
- Parameters:
-
- Return:
Object
Generated on 2014.03.27 12:59 UTC
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.