JavaScript API Reference for Oracle ADF Faces
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.
|
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, exportPrototypeSymbol, 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)
Generated on 2014.03.27 12:59 UTC
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.