Clipboard.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Dragboard | |
| public Image | |
| public double | Returns: x position of the cursor over the imageGets the x position of the cursor of the drag view image. |
| public double | Returns: y position of the cursor over the imageGets the y position of the cursor of the drag view image. |
| pack-priv TKClipboard | |
| public final Set | Returns: set of supported transfer modesGets set of transport modes supported by source of this drag operation. |
| public void | setDragView(Image
image to use for the drag view image, double x position of the cursor over the image offsetX, double y position of the cursor over the image offsetY)Sets the visual representation of data being transferred in a drag and drop gesture. |
| public void | setDragView(Image
image to use for the drag view image)Sets the visual representation of data being transferred in a drag and drop gesture. |
| public void | setDragViewOffsetX(double
x position of the cursor over the image offsetX)Sets the x position of the cursor of the drag view image. |
| public void | setDragViewOffsetY(double
y position of the cursor over the image offsetY)Sets the y position of the cursor of the drag view image. |
| Dragboard | back to summary |
|---|---|
| pack-priv Dragboard(TKClipboard peer) | |
| createDragboard | back to summary |
|---|---|
| pack-priv static Dragboard createDragboard(TKClipboard peer) | |
| getDragView | back to summary |
|---|---|
| public Image getDragView() Gets the image used as a drag view. This method returns meaningful value only when starting drag and drop operation in the DRAG_DETECTED handler, it returns null at other times.
| |
| getDragViewOffsetX | back to summary |
|---|---|
| public double getDragViewOffsetX() Gets the x position of the cursor of the drag view image. This method returns meaningful value only when starting drag and drop operation in the DRAG_DETECTED handler, it returns 0 at other times.
| |
| getDragViewOffsetY | back to summary |
|---|---|
| public double getDragViewOffsetY() Gets the y position of the cursor of the drag view image. This method returns meaningful value only when starting drag and drop operation in the DRAG_DETECTED handler, it returns 0 at other times.
| |
| getPeer | back to summary |
|---|---|
| pack-priv TKClipboard getPeer() | |
| getTransferModes | back to summary |
|---|---|
| public final Set Gets set of transport modes supported by source of this drag operation.
| |
| setDragView | back to summary |
|---|---|
| public void setDragView(Image image, double offsetX, double offsetY) Sets the visual representation of data being transferred in a drag and drop gesture. Uses the given image for the drag view with the offsetX and offsetY specifying cursor position over the image. This method should be called only when starting drag and drop operation in the DRAG_DETECTED handler, calling it at other times doesn't have any effect.
| |
| setDragView | back to summary |
|---|---|
| public void setDragView(Image image) Sets the visual representation of data being transferred in a drag and drop gesture. This method should be called only when starting drag and drop operation in the DRAG_DETECTED handler, calling it at other times doesn't have any effect.
| |
| setDragViewOffsetX | back to summary |
|---|---|
| public void setDragViewOffsetX(double offsetX) Sets the x position of the cursor of the drag view image. This method should be called only when starting drag and drop operation in the DRAG_DETECTED handler, calling it at other times doesn't have any effect.
| |
| setDragViewOffsetY | back to summary |
|---|---|
| public void setDragViewOffsetY(double offsetY) Sets the y position of the cursor of the drag view image. This method should be called only when starting drag and drop operation in the DRAG_DETECTED handler, calling it at other times doesn't have any effect.
| |