JavaScript API Reference for Oracle ADF Faces
oracle.adfinternal.view.js.dnd
Class AdfTableDragSource
Warning:
- This is an unsupported, internal implementation class.
- Use an API class that might provide equivalent functionality instead.
- This class will change without notice.
- It is not recommended that you use anything in this class.
org.ecmascript.object.Object
|
+--oracle.adf.view.js.base.AdfObject
|
+--oracle.adf.view.js.dnd.AdfDragSource
|
+--oracle.adfinternal.view.js.dnd.AdfStampedDragSource
|
+--oracle.adfinternal.view.js.dnd.AdfTableDragSource
public class AdfTableDragSource
extends AdfStampedDragSource
AdfTableDragSource, supporting drags from Table, TreeTable and Tree components
Constructor Summary
|
public |
AdfTableDragSource(Number allowedActions, Object defaultAction, String modelName)
-
AdfTableDragSource, supporting drags from Table, TreeTable and Tree components
|
Methods inherited from oracle.adfinternal.view.js.dnd.AdfStampedDragSource
|
applyDragReadyState, ApplyDragReadyStateForRowKeys, applyDragSourceState, ApplyDragSourceStateForRowKeys, GetDragOffset, GetDragOffsetForRowKeys, GetDragOverFeedback, GetDragOverFeedbackForRowKeys, GetDragTransferable, getModelName, getRowKeyDataFlavor, Init |
Methods inherited from oracle.adf.view.js.dnd.AdfDragSource
|
clearDragReadyState, clearDragSourceState, CreateDragRecognizer, dragDropEnd, 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, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toString |
public AdfTableDragSource(Number allowedActions,
Object defaultAction,
String modelName)
AdfTableDragSource, supporting drags from Table, TreeTable and Tree components
- Parameters:
-
allowedActions |
- |
that can be performed by this drag source |
defaultAction |
|
|
modelName |
- |
used to identify this dropTarget |
protected Object AreDraggedRowKeysAvailable(Object inputEvent)
Returns true
if a drag started at the location of the inputEvent will result in a drag transferable containing the rowkey DataFlavor. Overridden with a more efficient implementation for Tables.
- Parameters:
-
- Return:
Object
- Overrides:
AdfStampedDragSource.AreDraggedRowKeysAvailable(Object)
protected Array GetDraggedRowKeys(String mouseRowKey)
Override to check whether the mouseRowKey is in the selection. If it is, then the entire selection is dragged, otherwise the on the mouseRowKey is dragged.
- Parameters:
-
mouseRowKey |
- |
the rowKey under the mouse |
- Return:
Array
- an array of rowKeys for this drag operation
- Overrides:
AdfStampedDragSource.GetDraggedRowKeys(Object)
public Object isAvailable(Object dndContext,
Object inputEvent)
Returns true if a AdfDragSource is available at this location.
- Parameters:
-
- Return:
Object
- Overrides:
AdfDragSource.isAvailable(Object)
Generated on 2014.03.27 12:59 UTC
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.