OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adf.view.js.dnd
Class AdfAttributeDragSource

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

public class AdfAttributeDragSource
extends AdfDragSource
AdfDragSource supporting dragging a property from a component in copy mode.



Field Summary

private Object
_checkIfNeedsValidate
private Object
_propertyName


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

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfAttributeDragSource(Object propertyName)
AdfDragSource supporting dragging a property from a component in copy mode.


Method Summary

protected Object
GetDragTransferable(Object inputEvent)
If the property exists on the component, return a transferable containing that property
protected Object
Init(Object propertyName, Object allowedActions, Object defaultAction)
Initializes the instance.
public Object
isAvailable(Object dndContext, Object inputEvent)
Returns true if a AdfDragSource is available at this location
public Object
toDebugString()


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

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


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

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


Field Detail


_checkIfNeedsValidate

private Object _checkIfNeedsValidate

_propertyName

private Object _propertyName

Constructor Detail


AdfAttributeDragSource

public AdfAttributeDragSource(Object propertyName)

AdfDragSource supporting dragging a property from a component in copy mode.

Parameters:
propertyName    

Method Detail


GetDragTransferable

protected Object GetDragTransferable(Object inputEvent)

If the property exists on the component, return a transferable containing that property

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

Init

protected Object Init(Object propertyName,
                      Object allowedActions,
                      Object defaultAction)

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

Parameters:
propertyName    
allowedActions    
defaultAction    
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)

toDebugString

public Object toDebugString()

Return:
Object
Overrides:
AdfObject.toDebugString()

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

 

Generated on 2010.03.26 00:15 UTC
Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.