OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adf.view.js.dnd
Class AdfDragRecognizer

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adf.view.js.dnd.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.



Field Summary


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

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfDragRecognizer()
Strategy Class for recognizing drags based on AdfComponentEvents.


Method Summary

public Object
abortPrep(Object prepContext, Object inputEvent)
Returns true if the current prepped drag should be aborted
public Object
prepDrag(Object dndContext, Object dragSource, Object inputEvent)
Called by the AdfDnDContext when drag might be initiated.
public Object
recognizeDrag(Object prepContext, Object inputEvent)
Determine whether a possible drag has turned into a drag or not


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

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


Field Detail


Constructor Detail


AdfDragRecognizer

public AdfDragRecognizer()

Strategy Class for recognizing drags based on AdfComponentEvents. In general, programmers shouldn't have to deal with this class.

Method Detail


abortPrep

public Object abortPrep(Object prepContext,
                        Object inputEvent)

Returns true if the current prepped drag should be aborted

Parameters:
prepContext    
inputEvent    
Return:
Object

prepDrag

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

recognizeDrag

public Object recognizeDrag(Object prepContext,
                            Object inputEvent)

Determine whether a possible drag has turned into a drag or not

Parameters:
prepContext    
inputEvent    
Return:
Object

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

 

Generated on 2009.09.25 03:44 UTC
Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.