| 
 | Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 8 (11.1.8) E22562-08 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.apps.fnd.applcore.dt.patterns.metadata.creator.panel.AttributeDropTarget
public class AttributeDropTarget
This class handles a drop on the target node.
| Field Summary | 
|---|
| Fields inherited from interface oracle.bali.ewt.dTree.DTreeDropTarget | 
|---|
| SELF_INDEX | 
| Constructor Summary | |
|---|---|
| AttributeDropTarget() | |
| Method Summary | |
|---|---|
| static AttributeDropTarget | getDropTarget()This method returns a singleton instance of this class. | 
|  int | getTargetAction(oracle.bali.ewt.dTree.DTreeItem item,
                int index,
                java.awt.Point itemPos,
                java.awt.datatransfer.DataFlavor[] flavors,
                int userAction,
                int sourceActions)This method returns the target action for the specified props. | 
|  boolean | handleDrop(oracle.bali.ewt.dTree.DTreeItem item,
           int index,
           java.awt.Point itemPos,
           java.awt.datatransfer.Transferable transferable,
           int dropAction)This method handles a drop. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AttributeDropTarget()
| Method Detail | 
|---|
public static AttributeDropTarget getDropTarget()
public int getTargetAction(oracle.bali.ewt.dTree.DTreeItem item,
                           int index,
                           java.awt.Point itemPos,
                           java.awt.datatransfer.DataFlavor[] flavors,
                           int userAction,
                           int sourceActions)
getTargetAction in interface oracle.bali.ewt.dTree.DTreeDropTargetitem - The tree node.index - The index of the item.itemPos - The position of the item.flavors - Supported data flavors.userAction - The type of action.sourceActions - The source actions.
public boolean handleDrop(oracle.bali.ewt.dTree.DTreeItem item,
                          int index,
                          java.awt.Point itemPos,
                          java.awt.datatransfer.Transferable transferable,
                          int dropAction)
handleDrop in interface oracle.bali.ewt.dTree.DTreeDropTargetitem - The tree node.index - The index of the item.itemPos - Position of the item.transferable - The Transferable object.dropAction - The type of drop action.
| 
 | Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 8 (11.1.8) E22562-08 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||