KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > dnd > DropTargetDropEvent

java.awt.dnd
Class DropTargetDropEvent

java.lang.Object
  extended by java.util.EventObject
      extended by java.awt.dnd.DropTargetEvent
          extended by java.awt.dnd.DropTargetDropEvent
All Implemented Interfaces:
Serializable
See Also:
Top Examples, Source Code

public void acceptDrop(int dropAction)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void dropComplete(boolean success)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DropTargetDropEvent(DropTargetContext dtc,
                           Point cursorLocn,
                           int dropAction,
                           int srcActions)
See Also:
isLocalTransfer()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DropTargetDropEvent(DropTargetContext dtc,
                           Point cursorLocn,
                           int dropAction,
                           int srcActions,
                           boolean isLocal)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DataFlavor[] getCurrentDataFlavors()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public List<DataFlavor> getCurrentDataFlavorsAsList()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getDropAction()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Point getLocation()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getSourceActions()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Transferable getTransferable()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isDataFlavorSupported(DataFlavor df)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isLocalTransfer()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void rejectDrop()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags