Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E10684-05


oracle.adf.view.rich.dnd
Interface DragSourceFactory

All Known Implementing Classes:
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 java.lang.String DEFAULT_DRAGSOURCE
           

 

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

 

Field Detail

DEFAULT_DRAGSOURCE

static final java.lang.String DEFAULT_DRAGSOURCE
See Also:
Constant Field Values

Method Detail

createDragSource

DragSource createDragSource(java.lang.String name,
                            java.util.Set<DnDAction> allowedActions,
                            DnDAction defaultAction,
                            java.lang.String discriminant,
                            javax.el.MethodExpression dragDropEndListener,
                            java.util.Map<java.lang.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

java.lang.CharSequence createDragSourceBehavior(java.lang.String name,
                                                DragSource dragSource,
                                                java.util.Set<DnDAction> allowedActions,
                                                DnDAction defaultAction,
                                                java.lang.String discriminant,
                                                javax.el.MethodExpression dragDropEndListener,
                                                java.util.Map<java.lang.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
11g Release 1 (11.1.1)
E10684-05


Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.