The beginDrag method of the WDragSession Class contains the following signatures:
beginDrag(TransferSession session)
beginDrag(MetaObject data, int available)
beginDrag(MetaObject data, int available, int preferred)
beginDrag(DragSource source, MetaObject data, int available)
beginDrag(DragSource source, MetaObject data, int available, int preferred)
beginDrag(DragSource source, TransferSession session)
Starts a drag session by obtaining a TransferSession object and acting on it. The drag session has an undefined DragSource object. Drag-and-drop TransferSession implementations must support Transfer.MOVE.
public static void beginDrag(TransferSession session);
session | The TransferSession object that is used during the current drag operation. |
Starts a drag session by obtaining a TransferSession object and acting on it.
public static void beginDrag(MetaObject data, int available);
The drag session has an undefined DragSource object. Drag-and-drop TransferSession implementations must support Transfer.MOVE.
data | A MetaObject used to create a TransferSession object. It is used in the current drag session. |
available | The transfer effects that are available for the created TransferSession. These include NONE, COPY, MOVE, and LINK. |
Starts a drag session by obtaining a TransferSession object and acting on it.
public static void beginDrag(MetaObject data, int available, int preferred);
The drag session has an undefined DragSource object. Drag-and-drop TransferSession implementations must support Transfer.MOVE.
data | A MetaObject used to create a TransferSession object. It is used in the current drag session. |
available | The transfer effects that are available for the created TransferSession. These include NONE, COPY, MOVE, and LINK. |
preferred | The preferred transfer effects for the current TransferSession. |
Starts a drag session by obtaining a TransferSession object and acting on it.
public static void beginDrag(DragSource source, MetaObject data, int available);
Drag-and-drop TransferSession implementations must support Transfer.MOVE.
source | A DragSource object that provides custom cursor behavior for the drag session. |
data | A MetaObject used to create a TransferSession object. It is used in the current drag session. |
available | The transfer effects that are available for the created TransferSession. These include NONE, COPY, MOVE, and LINK. |
Starts a drag session by obtaining a TransferSession object and acting on it.
public static void beginDrag(DragSource source, MetaObject data, int available, int preferred);
Drag-and-drop TransferSession implementations must support Transfer.MOVE.
source | A DragSource object that provides custom cursor behavior for the drag session. |
data | A MetaObject used to create a TransferSession object. It is used in the current drag session. |
available | The transfer effects that are available for the created TransferSession. These include NONE, COPY, MOVE, and LINK. |
preferred | The preferred transfer effects for the current TransferSession. |
Starts a drag session by obtaining a TransferSession object and acting on it.
public static void beginDrag(DragSource source, TransferSession session);
Drag-and-drop TransferSession implementations must support Transfer.MOVE.
source | A DragSource object that provides custom cursor behavior for the drag session. |
session | The TransferSession object that is used during the current drag operation. |