OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adfinternal.view.js.dnd
Class AdfTableDragSource

Warning:

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



Field Summary


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

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfTableDragSource(Number allowedActions, Object defaultAction, String modelName)
AdfTableDragSource, supporting drags from Table, TreeTable and Tree components


Method Summary

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.
protected Array
GetDraggedRowKeys(String mouseRowKey)
Override to check whether the mouseRowKey is in the selection.


Methods inherited from oracle.adfinternal.view.js.dnd.AdfStampedDragSource

applyDragReadyState, ApplyDragReadyStateForRowKeys, applyDragSourceState, ApplyDragSourceStateForRowKeys, GetDragOffset, GetDragOffsetForRowKeys, GetDragOverFeedback, GetDragOverFeedbackForRowKeys, GetDragTransferable, getModelName, getRowKeyDataFlavor, Init, isAvailable


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, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toString


Field Detail


Constructor Detail


AdfTableDragSource

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

Method Detail


AreDraggedRowKeysAvailable

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:
inputEvent    
Return:
Object
Overrides:
AdfStampedDragSource.AreDraggedRowKeysAvailable(Object)

GetDraggedRowKeys

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)

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.