Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.dt.patterns.metadata.creator.panel
Class AttributeDragSource

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.patterns.metadata.creator.panel.AttributeDragSource
All Implemented Interfaces:
oracle.bali.ewt.dTree.DTreeDragSource

public class AttributeDragSource
extends java.lang.Object
implements oracle.bali.ewt.dTree.DTreeDragSource

This class handles a drag from the source.


Constructor Summary
AttributeDragSource()
           
 
Method Summary
 void dragDropEnd(oracle.bali.ewt.dTree.DTreeItem item, int dropAction)
          Do nothing.
static AttributeDragSource getDragSource()
          Creates and returns an AttributeDragSource object .
 int getSourceActions(oracle.bali.ewt.dTree.DTreeItem item)
          This method returns the type of Action allowed for a particular tree item.
 java.awt.datatransfer.Transferable getTransferable(oracle.bali.ewt.dTree.DTreeItem item)
          This method creates and returns a Transferable for a particular item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeDragSource

public AttributeDragSource()
Method Detail

getDragSource

public static AttributeDragSource getDragSource()
Creates and returns an AttributeDragSource object .

This static method is called by Book.getDragSource()method during drag operation.

Returns:
The drag source object.

getSourceActions

public int getSourceActions(oracle.bali.ewt.dTree.DTreeItem item)
This method returns the type of Action allowed for a particular tree item.

Specified by:
getSourceActions in interface oracle.bali.ewt.dTree.DTreeDragSource
Parameters:
item - The tree item.
Returns:
The Action allowed for this item.

getTransferable

public java.awt.datatransfer.Transferable getTransferable(oracle.bali.ewt.dTree.DTreeItem item)
This method creates and returns a Transferable for a particular item.

Specified by:
getTransferable in interface oracle.bali.ewt.dTree.DTreeDragSource
Parameters:
item - The tree item.
Returns:
The Transferable object.

dragDropEnd

public void dragDropEnd(oracle.bali.ewt.dTree.DTreeItem item,
                        int dropAction)
Do nothing.

Specified by:
dragDropEnd in interface oracle.bali.ewt.dTree.DTreeDragSource
Parameters:
item - The tree item.
dropAction - The type of drop.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.