oracle.ide.palette
Interface PaletteTransferable
- All Superinterfaces:
- java.awt.datatransfer.Transferable
- All Known Implementing Classes:
- DataTransferable
- public interface PaletteTransferable
- extends java.awt.datatransfer.Transferable
Method Summary |
java.awt.datatransfer.Transferable |
getOptionalTransferable()
Return your own optionalTransferable to handle right-click drags |
void |
postConfigure(Context context)
Allow for a postConfigure process that occurs when the drop has been completed. |
void |
setContext(Context context)
Set the current Context |
void |
setIsClicked(boolean clicked)
A user may need to know if it the item is actually dragging or was clicked. |
Methods inherited from interface java.awt.datatransfer.Transferable |
getTransferData, getTransferDataFlavors, isDataFlavorSupported |
setContext
public void setContext(Context context)
- Set the current
Context
-
- Parameters:
context
- the current context
postConfigure
public void postConfigure(Context context)
- Allow for a postConfigure process that occurs when the drop has been completed.
-
- Parameters:
context
- the current context
getOptionalTransferable
public java.awt.datatransfer.Transferable getOptionalTransferable()
- Return your own optionalTransferable to handle right-click drags
-
- Returns:
- optional
Transferable
setIsClicked
public void setIsClicked(boolean clicked)
- A user may need to know if it the item is actually dragging or was clicked.
Copyright © 1997, 2004, Oracle. All rights reserved.