Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
12c Release 1 (12.1.2.0.0)
E23185-01


oracle.adf.view.rich.dnd
Interface DragSourceFactory

All Known Implementing Classes:
RichListView, RichTable, RichTree, RichTreeTable

public interface DragSourceFactory

A factory interface that a component can implement to provide a default DragSource for itself or provide named DragSource instances.


Field Summary
static String DEFAULT_DRAGSOURCE
           

 

Method Summary
 DragSource createDragSource(String name, Set<DnDAction> allowedActions, DnDAction defaultAction, String discriminant, javax.el.MethodExpression dragDropEndListener, Map<String,?> properties)
          Returns the server DragSource, or null if no DragSource should be attached.
 CharSequence createDragSourceBehavior(String name, DragSource dragSource, Set<DnDAction> allowedActions, DnDAction defaultAction, String discriminant, javax.el.MethodExpression dragDropEndListener, Map<String,?> properties)
          Returns the client DragSource initializer.

 

Field Detail

DEFAULT_DRAGSOURCE

static final String DEFAULT_DRAGSOURCE
See Also:
Constant Field Values

Method Detail

createDragSource

DragSource createDragSource(String name,
                            Set<DnDAction> allowedActions,
                            DnDAction defaultAction,
                            String discriminant,
                            javax.el.MethodExpression dragDropEndListener,
                            Map<String,?> properties)
Returns the server DragSource, or null if no DragSource should be attached.
Parameters:
name - refers to a named DragSource; "default" refers to the default DragSource
allowedActions - Set of DnDAction supported by the DragSource.
defaultAction - Default drag and drop action supported by this drag source
discriminant - The discriminant for the default DataFlavors generated by this drag source.
dragDropEndListener - A method reference to an event of the signature void method(DropEvent) that is invoked after the drag drop operation ends.
properties - allows for additional properties in the future
Returns:
DragSource

createDragSourceBehavior

CharSequence createDragSourceBehavior(String name,
                                      DragSource dragSource,
                                      Set<DnDAction> allowedActions,
                                      DnDAction defaultAction,
                                      String discriminant,
                                      javax.el.MethodExpression dragDropEndListener,
                                      Map<String,?> properties)
Returns the client DragSource initializer.
Parameters:
name - refers to a named DragSource; "default" refers to the default DragSource
dragSource - DragSource to create clientDragSource initializer for.
allowedActions - Set of DnDAction supported by the DragSource.
defaultAction - Default drag and drop action supported by this drag source
discriminant - The discriminant for the default DataFlavors generated by this drag source.
dragDropEndListener - A method reference to an event of the signature void method(DropEvent) that is invoked after the drag drop operation ends.
properties - allows for additional properties in the future
Returns:
CharSequence

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
12c Release 1 (12.1.2.0.0)
E23185-01


Copyright © 2013 Oracle Corporation. All Rights Reserved.