|
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.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 _allowedActions
private Object _component
private Object _defaultAction
private 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. |
Object
public Object dragEnter(Object dndContext)
dndContext |
Object
public Object dragExit(Object dndContext)
dndContext |
Object
public Object dragOver(Object dndContext)
dndContext |
Object
public Object dropActionChanged(Object dndContext)
dndContext |
Object
public Object getAllowedActions()
Object
public AdfUIComponent getComponent()
AdfUIComponent
- component AdfDragSource is bound topublic Object getDefaultAction()
Object
protected Object GetDefaultDragCursor()
Object
protected Object GetDragOffset(Object inputEvent)
inputEvent |
Object
protected 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()
Object
protected 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 |
Object
AdfObject.Init()
public Object initiateDrag(Object dndContext,
Object triggerEvent)
dndContext |
||
triggerEvent |
Object
public Object isAvailable(Object inputEvent)
true
if a AdfDragSource is available at this locationinputEvent |
Object
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 |