DHTML-specific implementation of AdfDnDContext for maintaining state of drag and drop operations
Method Summary
 | 
private Object | 
_abortDrag() 
- 
Called to abort the current drag 
 
 
 | 
private Object | 
_abortEvent(Object event) 
- 
Aborts the drag and eats the event 
 
 
 | 
private static Object | 
_abortIfOutsideWindowCallback(Object event) 
- 
Aborts the drag and eats the event if the drag is outside of the window 
 
 
 | 
private Object | 
_acceptDrag(Object dropTarget, Object event, Object dropTargetFuncName, Object mousePage) 
- 
Update the drag options based on the current keyboard modifiers 
 
 
 | 
Object | 
__addComponentTarget(Object component) 
- 
Adds a component with a AdfDropTarget 
 
 
 | 
private static Object | 
_autoscrollCallback() 
- 
Establish this before calling _autoscroll callback 
 
 
 | 
private Object | 
_changeActiveDropCSSClass(Object dropTarget, Boolean addClass) 
- 
adds/removes the active target CSS class name from the DropTarget 
 
 
 | 
private Object | 
_checkAbort(Object event) 
 
 | 
private static Object | 
_checkAbortCallback(Object event) 
- 
Establish this before calling _checkAbort callback 
 
 
 | 
private Object | 
_clearDrag() 
 
 | 
private Object | 
_doDrop(Object event) 
 
 | 
private static Object | 
_doDropCallback(Object event) 
- 
Establish this before calling _doDrop callback 
 
 
 | 
private Object | 
_dragComplete(Object mouseReleased) 
- 
Cleans up after completion of a drag. 
 
 
 | 
private Object | 
_findContainingDragSource(Object inputEvent) 
- 
Finds the closest AdfDragSource capable of starting a drag for this inputEvent 
 
 
 | 
private Object | 
_findDragSource(Object inputEvent) 
- 
Find the AdfDragSource containing the event 
 
 
 | 
private Object | 
_findDropTarget(Object oldDropTarget, Object pageX, Object pageY) 
 
 | 
private Object | 
_getDragDiv() 
- 
Lazily creates the floating DIV to drag around 
 
 
 | 
public Object | 
getDragSource() 
- 
Returns the AdfDragSource that initiated the drag. 
 
 
 | 
public Object | 
getDropTargetProperty(Object name) 
- 
Gets a property for the current Drop target. 
 
 
 | 
public Object | 
getSourceActions() 
- 
returns the current actions allowed by the source 
 
 
 | 
public AdfTransferable | 
getTransferable() 
- 
Returns the AdfTransferable currently being dragged. 
 
 
 | 
public Object | 
getTriggerEvent() 
- 
Returns the AdfAdfUIInputEvent that initiated the drag 
 
 
 | 
public Object | 
getUserAction() 
- 
Returns the current action chosen by the user 
 
 
 | 
Object | 
__handleInputEvent(Object inputEvent) 
- 
Handles distributing AdfAdfUIInputEvents to the drag and drop framework 
 
 
 | 
protected Object | 
Init() 
- 
Initializes the instance. 
 
 
 | 
protected static Object | 
InitClass() 
 
 | 
public Object | 
isDragging() 
- 
Returns true if the user is currently dragging. 
 
 
 | 
private static Object | 
_pointInDropTarget(Object component, Object pageX, Object pageY) 
 
 | 
Object | 
__removeComponentTarget(Object component) 
- 
Remove a component with a AdfDropTarget 
 
 
 | 
Object | 
__removeDragSource(Object component) 
- 
If there is a drag source associated with a component clear it 
 
 
 | 
private Object | 
_setCursor(Object newCursor) 
- 
Set the cursor 
 
 
 | 
public Object | 
setDropTargetProperty(Object name, Object value) 
- 
Sets a property for the current Drop target. 
 
 
 | 
private Object | 
_setUserAction(Object newUserAction, Object deliverDropActionChanged) 
 
 | 
public Object | 
startDrag(Object triggerEvent, Object transferable, Object allowedActions, Object defaultAction, Object dragOverNode, Object cursorOffsetX, Object cursorOffsetY, Object cursor) 
- 
Actually starts a drag 
 
 
 | 
public Object | 
toDebugString() 
 
 | 
private Object | 
_trackDrag(Object event) 
- 
Update the drag feedback 
 
 
 | 
private static Object | 
_trackDragCallback(Object event) 
- 
Establish this before calling _trackDrag callback 
 
 
 | 
private static Object | 
_updateDragOptionsCallback(Object event) 
- 
Establish this before calling _acceptDrag callback 
 
 
 |