Modifier and Type | Field and Description |
---|---|
private boolean |
dataAccessRestricted
Whether access to the data requires a permission.
|
Constructor and Description |
---|
Dragboard(TKClipboard peer) |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.Object |
getContentImpl(DataFormat dataFormat)
Getting content overridable by internal subclasses.
|
Image |
getDragView()
Gets the image used as a drag view.
|
double |
getDragViewOffsetX()
Gets the x position of the cursor of the drag view image.
|
double |
getDragViewOffsetY()
Gets the y position of the cursor of the drag view image.
|
java.util.Set<TransferMode> |
getTransferModes()
Gets set of transport modes supported by source of this drag opeation.
|
static Dragboard |
impl_createDragboard(TKClipboard peer)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
TKClipboard |
impl_getPeer()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
void |
setDragView(Image image)
Sets the visual representation of data being transfered
in a drag and drop gesture.
|
void |
setDragView(Image image,
double offsetX,
double offsetY)
Sets the visual representation of data being transfered
in a drag and drop gesture.
|
void |
setDragViewOffsetX(double offsetX)
Sets the x position of the cursor of the drag view image.
|
void |
setDragViewOffsetY(double offsetY)
Sets the y position of the cursor of the drag view image.
|
clear, getContent, getContentTypes, getFiles, getHtml, getImage, getRtf, getString, getSystemClipboard, getUrl, hasContent, hasFiles, hasHtml, hasImage, hasRtf, hasString, hasUrl, impl_contentPut, setContent
private boolean dataAccessRestricted
Dragboard(TKClipboard peer)
java.lang.Object getContentImpl(DataFormat dataFormat)
Clipboard
getContentImpl
in class Clipboard
public final java.util.Set<TransferMode> getTransferModes()
@Deprecated public TKClipboard impl_getPeer()
@Deprecated public static Dragboard impl_createDragboard(TKClipboard peer)
public void setDragView(Image image, double offsetX, double offsetY)
image
- image to use for the drag viewoffsetX
- x position of the cursor over the imageoffsetY
- y position of the cursor over the imagepublic void setDragView(Image image)
image
- image to use for the drag viewpublic void setDragViewOffsetX(double offsetX)
offsetX
- x position of the cursor over the imagepublic void setDragViewOffsetY(double offsetY)
offsetY
- y position of the cursor over the imagepublic Image getDragView()
public double getDragViewOffsetX()
public double getDragViewOffsetY()