| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getContent(final DataFormat dataFormat)
Implements com. Returns the content stored in this clipboard of the given type, or null if there is no content with this type. |
| public Set | getContentTypes()
Implements com. Gets the set of DataFormat types on this Clipboard instance which have associated data registered on the clipboard. |
| public Image | getDragView()
Implements com. Gets the image used as a drag view. |
| public double | getDragViewOffsetX()
Implements com. Gets the x position of the cursor of the drag view image. |
| public double | getDragViewOffsetY()
Implements com. Gets the y position of the cursor of the drag view image. |
| public Set | |
| public boolean | hasContent(final DataFormat dataFormat)
Implements com. Tests whether there is any content on this clipboard of the given DataFormat type. |
| public boolean | putContent(final Pair<DataFormat, Object>...
The content to put on the clipboard. content)Implements com. Puts the specified content onto the clipboard. |
| public void | setDragView(final Image
image to use for the drag view image)Implements com. Sets the visual representation of data being transfered in a drag and drop gesture. |
| public void | setDragViewOffsetX(final double
x position of the cursor over the image offsetX)Implements com. Sets the x position of the cursor of the drag view image. |
| public void | setDragViewOffsetY(final double
x position of the cursor over the image offsetY)Implements com. Sets the y position of the cursor of the drag view image. |
| values | back to summary |
|---|---|
| private final Map<DataFormat, Object> values | |
| LocalClipboard | back to summary |
|---|---|
| public LocalClipboard() | |
| getContent | back to summary |
|---|---|
| public Object getContent(final DataFormat dataFormat) Implements com. Doc from com. Returns the content stored in this clipboard of the given type, or null if there is no content with this type. | |
| getContentTypes | back to summary |
|---|---|
| public Set Implements com. Doc from com. Gets the set of DataFormat types on this Clipboard instance which have associated data registered on the clipboard. This set will always be non-null and immutable. If the Clipboard is subsequently modifed, this returned set is not updated.
| |
| getDragView | back to summary |
|---|---|
| public Image getDragView() Implements com. Doc from com. Gets the image used as a drag view. | |
| getDragViewOffsetX | back to summary |
|---|---|
| public double getDragViewOffsetX() Implements com. Doc from com. Gets the x position of the cursor of the drag view image.
| |
| getDragViewOffsetY | back to summary |
|---|---|
| public double getDragViewOffsetY() Implements com. Doc from com. Gets the y position of the cursor of the drag view image.
| |
| getTransferModes | back to summary |
|---|---|
| public Set Implements com.
| |
| hasContent | back to summary |
|---|---|
| public boolean hasContent(final DataFormat dataFormat) Implements com. Doc from com. Tests whether there is any content on this clipboard of the given DataFormat type.
| |
| putContent | back to summary |
|---|---|
| public boolean putContent(final Pair<DataFormat, Object>... content) Implements com. Doc from com. Puts the specified content onto the clipboard. Note that all existing content is
cleared from the clipboard prior to the specified content being added.
A
| |
| setDragView | back to summary |
|---|---|
| public void setDragView(final Image image) Implements com. Doc from com. Sets the visual representation of data being transfered in a drag and drop gesture. | |
| setDragViewOffsetX | back to summary |
|---|---|
| public void setDragViewOffsetX(final double offsetX) Implements com. Doc from com. Sets the x position of the cursor of the drag view image.
| |
| setDragViewOffsetY | back to summary |
|---|---|
| public void setDragViewOffsetY(final double offsetY) Implements com. Doc from com. Sets the y position of the cursor of the drag view image.
| |