JavaScript API Reference for Oracle ADF Faces
  | 
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-03  | 
||||||||
| 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.AdfDragSource
public class AdfDragSource extends AdfObject
Field Summary | 
|
|---|---|
private Object | 
|
private Object | 
|
private Object | 
|
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 AdfDragRecognizer | 
  | 
public Object | 
  | 
public Object | 
|
public Object | 
|
public Object | 
|
public Object | 
  | 
public Object | 
|
public AdfUIComponent | 
  | 
public Object | 
|
protected Object | 
|
protected Object | 
  | 
protected Object | 
  | 
public Object | 
  | 
protected AdfTransferable | 
  | 
protected Object | 
|
public Object | 
  | 
public 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 _allowedActionsprivate Object _componentprivate Object _defaultActionprivate Object _dragRecognizer
Constructor Detail | 
|---|
public AdfDragSource(Object allowedActions,
                     Object defaultAction)allowedActions | 
||
defaultAction | 
Method Detail | 
|---|
protected AdfDragRecognizer CreateDragRecognizer()null is returned, the AdfDragSource will use the peer's default AdfDragRecognizer.AdfDragRecognizer - null .public Object dragDropEnd(Object dndContext,
                          Object dropAction)dndContext | 
||
dropAction | 
- | The drop Action chosen by the drop Target, AdfDnDContext.ACTION_NONE if the drop was cancelled. | 
Objectpublic Object dragEnter(Object dndContext)dndContext | 
Objectpublic Object dragExit(Object dndContext)dndContext | 
Objectpublic Object dragOver(Object dndContext)dndContext | 
Objectpublic Object dropActionChanged(Object dndContext)dndContext | 
Objectpublic Object getAllowedActions()Objectpublic AdfUIComponent getComponent()AdfUIComponent - component AdfDragSource is bound topublic Object getDefaultAction()Objectprotected Object GetDefaultDragCursor()Objectprotected Object GetDragOffset(Object inputEvent)inputEvent | 
Objectprotected Object GetDragOverFeedback(AdfUIInputEvent inputEvent)The default implementation delegates to the peer
inputEvent | 
- | the inputEvent that triggered the drag | 
Object - Appropriate feedback object. For HTML, this is an HTML Nodepublic Object getDragRecognizer()Objectprotected AdfTransferable GetDragTransferable(AdfUIInputEvent inputEvent)inputEvent | 
- | the inputEvent that triggered the drag | 
AdfTransferable - Default transferable object, or null if no defaultprotected Object Init(Object allowedActions,
                      Object defaultAction)allowedActions | 
||
defaultAction | 
ObjectAdfObject.Init()public Object initiateDrag(Object dndContext,
                           Object triggerEvent)dndContext | 
||
triggerEvent | 
Objectpublic Object isAvailable(Object inputEvent)true if a AdfDragSource is available at this locationinputEvent | 
ObjectObject __setComponent(Object component)component | 
Objectpublic Object toDebugString()ObjectAdfObject.toDebugString()
  | 
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-03  | 
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||