public abstract class RTFPicture extends java.lang.Object implements TransferablePicture
| Constructor and Description |
|---|
RTFPicture() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.awt.datatransfer.Transferable |
buildStandAloneTransferable()
Used by children classes to define how they create a transferable when used outside of an RTF picture.
|
java.awt.datatransfer.Transferable |
buildTransferable()
Gets a transferable to transfer the picture.
|
boolean |
isEmbeddedInRTF() |
void |
setEmbeddedInRTF(boolean embeddedInRTF) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGraphicspublic void setEmbeddedInRTF(boolean embeddedInRTF)
public boolean isEmbeddedInRTF()
public final java.awt.datatransfer.Transferable buildTransferable()
TransferablePictureMust be called after drawing the picture and releasing the graphics2D.
buildTransferable in interface TransferablePictureprotected abstract java.awt.datatransfer.Transferable buildStandAloneTransferable()