public abstract class CopyPasteManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
CopyPasteManager.ContentChangedListener |
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
CUT_COLOR |
Constructor and Description |
---|
CopyPasteManager() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addContentChangedListener(CopyPasteManager.ContentChangedListener listener) |
abstract void |
addContentChangedListener(CopyPasteManager.ContentChangedListener listener,
Disposable parentDisposable) |
abstract boolean |
areDataFlavorsAvailable(java.awt.datatransfer.DataFlavor... flavors) |
abstract java.awt.datatransfer.Transferable [] |
getAllContents() |
abstract java.awt.datatransfer.Transferable |
getContents() |
abstract <T> T |
getContents(java.awt.datatransfer.DataFlavor flavor) |
static CopyPasteManager |
getInstance() |
abstract boolean |
isCutElement(java.lang.Object element) |
abstract void |
removeContentChangedListener(CopyPasteManager.ContentChangedListener listener) |
abstract void |
setContents(java.awt.datatransfer.Transferable content) |
abstract void |
stopKillRings()
We support 'kill rings' at the editor, i.e.
|
public static CopyPasteManager getInstance()
public abstract void addContentChangedListener(CopyPasteManager.ContentChangedListener listener)
public abstract void addContentChangedListener(CopyPasteManager.ContentChangedListener listener, Disposable parentDisposable)
public abstract void removeContentChangedListener(CopyPasteManager.ContentChangedListener listener)
public abstract boolean areDataFlavorsAvailable(java.awt.datatransfer.DataFlavor... flavors)
public abstract java.awt.datatransfer.Transferable getContents()
public abstract <T> T getContents(java.awt.datatransfer.DataFlavor flavor)
public abstract java.awt.datatransfer.Transferable [] getAllContents()
public abstract void setContents(java.awt.datatransfer.Transferable content)
public abstract boolean isCutElement(java.lang.Object element)
public abstract void stopKillRings()
KillRingTransferable