JavaScript API Reference for Oracle ADF Faces
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.6.0)
E12046-07
PREV NEXT
FRAMES NO FRAMES All Classes Warning: private items are visible
oracle.adf.view.js.dnd
Class AdfBasicDropTarget
org.ecmascript.object.Object
|
+--oracle.adf.view.js.base.AdfObject
|
+--oracle.adf.view.js.dnd.AdfDropTarget
|
+--oracle.adf.view.js.dnd.AdfBasicDropTarget
public class AdfBasicDropTarget
extends AdfDropTarget
Basic, fully-specified AdfDropTarget, delegating drops anywhere in the Component that meet the allowedActions and allowedFlavors to the dropHandler callback
Constructor Summary
public
AdfBasicDropTarget (Object dropHandler, Object allowedActions, Object allowedFlavors)
Basic, fully-specified AdfDropTarget, delegating drops anywhere in the Component that meet the allowedActions and allowedFlavors to the dropHandler callback
Methods inherited from oracle.adf.view.js.base.AdfObject
adopt , clone , createCallback , createInitializedObject , createSubclass , ensureClassInitialization , equals , getClass , GetLazyArrayProperty , GetLazyMapProperty , getTypeName , toString
private Object _allowedActions
private Object _allowedFlavors
private Object _dropHandler
public AdfBasicDropTarget (Object dropHandler,
Object allowedActions,
Object allowedFlavors)
Basic, fully-specified AdfDropTarget, delegating drops anywhere in the Component that meet the allowedActions and allowedFlavors to the dropHandler callback
Parameters:
dropHandler
allowedActions
allowedFlavors
public Object drop (Object dndContext,
Object proposedAction,
Object pageX,
Object pageY)
Called when the drag operation has terminated with a drop on the operable part of the drop site for the AdfDropTarget
Parameters:
dndContext
proposedAction
pageX
pageY
Return:
Object
Overrides:
AdfDropTarget .drop(AdfDnDContext, Object, Number, Number)
protected Object GetAllowedActions (Object dndContext)
Override to use the actions specified by the developer
Parameters:
Return:
Object
Overrides:
AdfDropTarget .GetAllowedActions(Object)
protected Object GetAllowedFlavors (Object dndContext)
Return our allowed AdfDataFlavors
Parameters:
Return:
Object
Overrides:
AdfDropTarget .GetAllowedFlavors(Object)
protected Object Init (Object dropHandler,
Object allowedActions,
Object allowedFlavors)
Initializes the instance. Subclasses of AdfObject must call their superclass' Init
Parameters:
dropHandler
allowedActions
allowedFlavors
Return:
Object
Overrides:
AdfObject .Init()
public Object toDebugString ()
Return:
Object
Overrides:
AdfObject .toDebugString()
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.6.0)
E12046-07
PREV NEXT
FRAMES NO FRAMES All Classes Warning: private items are visible
Generated on 2011.10.24 21:45 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.