JavaScript API Reference for Oracle ADF Faces
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, exportPrototypeSymbol, 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()
Generated on 2015.07.15 10:12 UTC
Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.