OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adfinternal.view.js.dnd
Class AdfCalendarDragSource

Warning:

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

public class AdfCalendarDragSource
extends AdfDragSource
AdfDragSource, supporting drags from calendar components



Field Summary


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

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfCalendarDragSource(Number allowedActions, Object defaultAction)
AdfDragSource, supporting drags from calendar components


Method Summary

public Object
dragDropEnd(Object dndContext, Object dropAction)
Overridden to hook into the drag drop end
private Object
_getActivity(Object inputEvent)
Returns the activity to use for this inputEvent
protected Object
GetDragOffset(Object inputEvent)
Overriden to return the offset of the dragged object within the activity, instead of the component, if the drag happens on a activity.
protected Object
GetDragOverFeedback(Object inputEvent)
Override to return feedback for the dragged activity.
protected Object
GetDragTransferable(Object inputEvent)
Return a transferable matching for this drag source.
protected Object
Init(Object allowedActions, Object defaultAction)
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

applyDragReadyState, applyDragSourceState, clearDragReadyState, clearDragSourceState, CreateDragRecognizer, dragEnter, dragExit, dragOver, dropActionChanged, getAllowedActions, getComponent, getDefaultAction, GetDefaultDragCursor, getDragRecognizer, initiateDrag, toDebugString


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

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


Field Detail


Constructor Detail


AdfCalendarDragSource

public AdfCalendarDragSource(Number allowedActions,
                             Object defaultAction)

AdfDragSource, supporting drags from calendar components

Parameters:
allowedActions  -  that can be performed by this drag source
defaultAction    

Method Detail


dragDropEnd

public Object dragDropEnd(Object dndContext,
                          Object dropAction)

Overridden to hook into the drag drop end

Parameters:
dndContext    
dropAction    
Return:
Object
Overrides:
AdfDragSource.dragDropEnd(Object, Object)

_getActivity

private Object _getActivity(Object inputEvent)

Returns the activity to use for this inputEvent

Parameters:
inputEvent    
Return:
Object

GetDragOffset

protected Object GetDragOffset(Object inputEvent)

Overriden to return the offset of the dragged object within the activity, instead of the component, if the drag happens on a activity.

Parameters:
inputEvent    
Return:
Object
Overrides:
AdfDragSource.GetDragOffset(Object)

GetDragOverFeedback

protected Object GetDragOverFeedback(Object inputEvent)

Override to return feedback for the dragged activity.

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

GetDragTransferable

protected Object GetDragTransferable(Object inputEvent)

Return a transferable matching for this drag source.

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

Init

protected Object Init(Object allowedActions,
                      Object defaultAction)

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

Parameters:
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)

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

 

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