|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.OjbMetaTreeNodesDragWorker
Constructor Summary | |
OjbMetaTreeNodesDragWorker()
Creates a new instance of OjbMetaTreeNodesDragWorker |
Method Summary | |
void |
exportDone(java.awt.Component c,
int action)
Is called to notify you that the export this Worker has been notified of has finished. |
void |
exportStarted(java.awt.Component c,
int action)
Is called to notify you that the export has started. |
int |
getAcceptableActions(java.awt.Component c)
Return a bitmask of acceptable actions. |
java.awt.Image |
getDragImage(java.awt.Component c,
java.awt.datatransfer.Transferable t,
int action)
DnD on some platforms supports displaying a drag image in addition to the drag cursor (Windows is known not to support it, so if you are on Windows you might be doing all right, but still see no image) |
java.awt.datatransfer.Transferable |
getTransferable(java.awt.Component c)
Return a Transferable with the data you whish to export. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OjbMetaTreeNodesDragWorker()
Method Detail |
public void exportDone(java.awt.Component c, int action)
exportDone
in interface DragCopyCutWorkerInterface
c
- The component that acts as the drag sourceaction
- The drag action that has been performedpublic void exportStarted(java.awt.Component c, int action)
exportStarted
in interface DragCopyCutWorkerInterface
c
- The component that acts as the drag sourceaction
- The drag action that is going to be performedpublic int getAcceptableActions(java.awt.Component c)
getAcceptableActions
in interface DragCopyCutWorkerInterface
c
- The component that acts as the drag source
public java.awt.Image getDragImage(java.awt.Component c, java.awt.datatransfer.Transferable t, int action)
getDragImage
in interface DragCopyCutWorkerInterface
c
- The component that acts as the drag sourcet
- The transferable that is used in this DnD processaction
- The currently requested action for the ongoing drag process
public java.awt.datatransfer.Transferable getTransferable(java.awt.Component c)
getTransferable
in interface DragCopyCutWorkerInterface
c
- The component that acts as the drag source
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |