|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 2 (11.1.2.0.0) E17489-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.dnd.AdfDropTarget
public class AdfDropTarget extends AdfObject
Field Summary |
|
---|---|
private 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 |
|
---|---|
protected Number |
|
private Number |
|
public Number |
|
public Number |
|
public Number |
|
protected Object |
|
protected Boolean |
|
public Object |
|
public Number |
|
protected Number |
|
protected Array<AdfDataFlavor> |
|
public AdfUIComponent |
|
protected Object |
|
Object |
|
public Object |
Methods inherited from oracle.adf.view.js.base.AdfObject |
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toString |
Field Detail |
---|
private Object _component
Constructor Detail |
---|
public AdfDropTarget()
Method Detail |
---|
protected Number AcceptDrag(Object dndContext,
Object possibleActions,
Object proposedAction,
Object pageX,
Object pageY)
dndContext |
||
possibleActions |
||
proposedAction |
||
pageX |
||
pageY |
Number
- the current support AdfDnDContext.ACTION, or DndContext.ACTION_NONE if a drop isn't supported.private Number _acceptDrag(Object dndContext,
Object proposedAction,
Object pageX,
Object pageY)
dndContext |
||
proposedAction |
||
pageX |
||
pageY |
Number
- the current support AdfDnDContext.ACTION, or DndContext.ACTION_NONE if a drop isn't supported.public Number acceptDragEnter(Object dndContext,
Object proposedAction,
Object pageX,
Object pageY)
dndContext |
||
proposedAction |
||
pageX |
||
pageY |
Number
- the current support AdfDnDContext.ACTION, or DndContext.ACTION_NONE if a drop isn't supported.public Number acceptDragOver(Object dndContext,
Object proposedAction,
Object pageX,
Object pageY)
dndContext |
||
proposedAction |
||
pageX |
||
pageY |
Number
- the current support AdfDnDContext.ACTION, or DndContext.ACTION_NONE if a drop isn't supported.public Number acceptDropActionChanged(Object dndContext,
Object proposedAction,
Object pageX,
Object pageY)
dndContext |
||
proposedAction |
||
pageX |
||
pageY |
Number
- the current support AdfDnDContext.ACTION, or DndContext.ACTION_NONE if a drop isn't supported.protected Object AcceptedDragEnter(Object dndContext,
Object userAction,
Object pageX,
Object pageY)
dndContext |
||
userAction |
||
pageX |
||
pageY |
Object
protected Boolean CalculateFlavorAcceptance(Object dndContext)
dndContext |
Boolean
- null true
if the transferable contains an AdfDataFlavor that this AdfDropTarget can consumepublic Object dragExit(Object dndContext)
dndContext |
Object
public Number drop(AdfDnDContext dndContext,
Object proposedAction,
Number pageX,
Number pageY)
dndContext |
- | Drag and drop context |
proposedAction |
||
pageX |
||
pageY |
Number
- the chosen AdfDnDContext.ACTION, or DndContext.ACTION_NONE if no drop actually occurred. Sunclasses should override this method to actually perform the dropprotected Number GetAllowedActions(Object dndContext)
dndContext |
Number
- Bitmask of allowed actionsprotected Array<AdfDataFlavor> GetAllowedFlavors(Object dndContext)
dndContext |
Array<AdfDataFlavor>
- nullpublic AdfUIComponent getComponent()
AdfUIComponent
- nullprotected Object Init()
Object
AdfObject.Init()
Object __setComponent(Object component)
component |
Object
public Object toDebugString()
Object
AdfObject.toDebugString()
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 2 (11.1.2.0.0) E17489-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |