JavaScript API Reference for Oracle ADF Faces
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.3.0)
E17489-04
PREV NEXT
FRAMES NO FRAMES All Classes Warning: private items are visible
oracle.adfinternal.view.js.dnd.touch
Class AdfColumnDragSource
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.adf.view.js.dnd.AdfComponentDragSource
|
+--oracle.adfinternal.view.js.dnd.touch.AdfColumnDragSource
public class AdfColumnDragSource
extends AdfComponentDragSource
AdfColumnDragSource, for column reordering by drag and drop. Currently only used on touchScreen devices
Constructor Summary
public
AdfColumnDragSource ()
AdfColumnDragSource, for column reordering by drag and drop.
Method Summary
protected Node
GetDragOverFeedback (AdfUIInputEvent inputEvent)
Create a node to represent to the user what is being dragged.
private AdfRichTable|null
_getTable ()
Get the table component for this column
protected Object
Init ()
Initialize the class
public Boolean
isAvailable (AdfDndContext dndContext, Object inputEvent)
Checks if the drag and drop operation should be considered for the given input event.
Methods inherited from oracle.adf.view.js.dnd.AdfDragSource
applyDragReadyState , applyDragSourceState , clearDragReadyState , clearDragSourceState , CreateDragRecognizer , dragDropEnd , dragEnter , dragExit , dragOver , dropActionChanged , getAllowedActions , getComponent , getDefaultAction , GetDefaultDragCursor , GetDragOffset , 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 AdfColumnDragSource ()
AdfColumnDragSource, for column reordering by drag and drop. Currently only used on touchScreen devices
protected Node GetDragOverFeedback (AdfUIInputEvent inputEvent)
Create a node to represent to the user what is being dragged. In this case, the feedback is a DIV that has the dimensions of the column being dragged.
Parameters:
inputEvent
-
the event triggering the dragging
Return:
Node
- the HTML node to use
Overrides:
AdfDragSource .GetDragOverFeedback(AdfUIInputEvent)
private AdfRichTable|null _getTable ()
Get the table component for this column
Return:
AdfRichTable|null
- the table, if found
protected Object Init ()
Initialize the class
Return:
Object
Overrides:
AdfObject .Init()
public Boolean isAvailable (AdfDndContext dndContext,
Object inputEvent)
Checks if the drag and drop operation should be considered for the given input event. Ensures that the table column reordering has not been disabled, and that the event falls within the column header, and not near an edge, to be considered a resize gesture, or on a sort icon.
Parameters:
dndContext
-
the drag and drop context
inputEvent
Return:
Boolean
- if the event should be considered for starting a drag and drop operation
Overrides:
AdfDragSource .isAvailable(Object)
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.3.0)
E17489-04
PREV NEXT
FRAMES NO FRAMES All Classes Warning: private items are visible
Generated on 2012.08.25 02:16 UTC
Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.