private static class EmbeddedSceneDT.EmbeddedDTAssistant extends ClipboardAssistance
Modifier and Type | Field and Description |
---|---|
private EmbeddedSceneDSInterface |
dragSource |
Constructor and Description |
---|
EmbeddedDTAssistant(EmbeddedSceneDSInterface source) |
Modifier and Type | Method and Description |
---|---|
void |
flush()
Synchronize prepared dataset with local/global clipboard content.
|
java.lang.Object |
getData(java.lang.String mimeType)
Returns the data from clipboard by mime type key.
|
java.lang.String[] |
getMimeTypes() |
int |
getSupportedSourceActions()
Gets the actions that are supported by source.
|
void |
setTargetAction(int actionDone)
Sets the action that clipboard target performed of DnD target can.
|
actionPerformed, close, contentChanged, emptyCache, isCacheEmpty, setData, setSupportedActions, toString
private EmbeddedSceneDSInterface dragSource
EmbeddedDTAssistant(EmbeddedSceneDSInterface source)
public void flush()
ClipboardAssistance
flush
in class ClipboardAssistance
public java.lang.Object getData(java.lang.String mimeType)
ClipboardAssistance
getData
in class ClipboardAssistance
public int getSupportedSourceActions()
ClipboardAssistance
getSupportedSourceActions
in class ClipboardAssistance
public void setTargetAction(int actionDone)
ClipboardAssistance
setTargetAction
in class ClipboardAssistance
actionDone
- Clipboard.ACTION_COPY, or Clipboard.ACTION_MOVE, or Clipboard.ACTION_REFERENCEpublic java.lang.String[] getMimeTypes()
getMimeTypes
in class ClipboardAssistance