|
|||||||||
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.ReverseDbNodesToOjbMetaDropWorker
Constructor Summary | |
ReverseDbNodesToOjbMetaDropWorker()
Creates a new instance of ReverseDbNodesDropWorker |
Method Summary | |
int |
getAcceptableActions(java.awt.Component c)
Returns a bitmask of acceptable actions for this component. |
int |
getAcceptableActions(java.awt.Component c,
java.awt.datatransfer.DataFlavor[] flavor)
Returns a bitmaks of acceptable actions for the supplied Component and DataFlavor. |
java.awt.datatransfer.DataFlavor |
getSupportedDataFlavor()
|
boolean |
importData(java.awt.Component c,
java.awt.datatransfer.Transferable t,
int action)
This is the method that is doing the real work. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReverseDbNodesToOjbMetaDropWorker()
Method Detail |
public int getAcceptableActions(java.awt.Component c)
DropPasteWorkerInterface
getAcceptableActions
in interface DropPasteWorkerInterface
c
- The component where the drop could occur.
public int getAcceptableActions(java.awt.Component c, java.awt.datatransfer.DataFlavor[] flavor)
DropPasteWorkerInterface
getAcceptableActions
in interface DropPasteWorkerInterface
c
- The component that is the possible drop target.flavor
- The DataFlavours that are associate with the drop action
public java.awt.datatransfer.DataFlavor getSupportedDataFlavor()
getSupportedDataFlavor
in interface DropPasteWorkerInterface
public boolean importData(java.awt.Component c, java.awt.datatransfer.Transferable t, int action)
DropPasteWorkerInterface
importData
in interface DropPasteWorkerInterface
c
- The component where the drop has occurredt
- The transferable that shall be importedaction
- The action that should be performed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |