OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adf.view.js.dnd
Class AdfComponentDragSource

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adf.view.js.dnd.AdfDragSource
               |
               +--oracle.adf.view.js.dnd.AdfComponentDragSource

public class AdfComponentDragSource
extends AdfDragSource
AdfDragSource supporting dragging a component in Move mode.



Field Summary

private Object
_dataFlavor
private static Object
_UICOMPONENT_FLAVOR


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

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfComponentDragSource(Object discriminant)
AdfDragSource supporting dragging a component in Move mode.


Method Summary

protected Object
GetDragTransferable(Object inputEvent)
Drag the component, if we have one
protected Object
Init(Object discriminant)
Initializes the instance.
public Object
isAvailable(Object dndContext, Object inputEvent)
Returns true if a AdfDragSource is available at this location


Methods inherited from oracle.adf.view.js.dnd.AdfDragSource

CreateDragRecognizer, dragDropEnd, dragEnter, dragExit, dragOver, dropActionChanged, getAllowedActions, getComponent, getDefaultAction, GetDefaultDragCursor, GetDragOffset, GetDragOverFeedback, getDragRecognizer, initiateDrag, __setComponent, toDebugString


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

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


Field Detail


_dataFlavor

private Object _dataFlavor

_UICOMPONENT_FLAVOR

private static Object _UICOMPONENT_FLAVOR

Constructor Detail


AdfComponentDragSource

public AdfComponentDragSource(Object discriminant)

AdfDragSource supporting dragging a component in Move mode.

Parameters:
discriminant    

Method Detail


GetDragTransferable

protected Object GetDragTransferable(Object inputEvent)

Drag the component, if we have one

Parameters:
inputEvent    
Return:
Object
Overrides:
AdfDragSource.GetDragTransferable(AdfUIInputEvent)

Init

protected Object Init(Object discriminant)

Initializes the instance. Subclasses of AdfObject must call their superclass' Init

Parameters:
discriminant    
Return:
Object
Overrides:
AdfObject.Init()

isAvailable

public Object isAvailable(Object dndContext,
                          Object inputEvent)

Returns true if a AdfDragSource is available at this location

Parameters:
dndContext    
inputEvent    
Return:
Object
Overrides:
AdfDragSource.isAvailable(Object)

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

 

Generated on 2012.03.28 02:21 UTC
Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.