JavaScript API Reference for Oracle ADF Faces
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 All Classes Warning: private items are visible
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.adf.view.js.dnd.AdfDragSource
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 , 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)
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 All Classes Warning: private items are visible
Generated on 2011.04.27 02:28 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.