com.levigo.jadice.document.flavor
Class JVMLocalDataFlavor
java.lang.Object
java.awt.datatransfer.DataFlavor
com.levigo.jadice.document.flavor.AbstractJadiceLocalDataFlavor
com.levigo.jadice.document.flavor.JVMLocalDataFlavor
- All Implemented Interfaces:
- Externalizable, Serializable, Cloneable
public class JVMLocalDataFlavor
- extends AbstractJadiceLocalDataFlavor
A DataFlavor
used for moving or copying Page
s across Document
s within the same JVM.
- See Also:
- Serialized Form
Methods inherited from class java.awt.datatransfer.DataFlavor |
clone, equals, equals, getDefaultRepresentationClass, getDefaultRepresentationClassAsString, getHumanPresentableName, getMimeType, getParameter, getPrimaryType, getReaderForText, getRepresentationClass, getSubType, getTextPlainUnicodeFlavor, isFlavorJavaFileListType, isFlavorRemoteObjectType, isFlavorSerializedObjectType, isFlavorTextType, isMimeTypeEqual, isMimeTypeEqual, isMimeTypeSerializedObject, isRepresentationClassByteBuffer, isRepresentationClassCharBuffer, isRepresentationClassInputStream, isRepresentationClassReader, isRepresentationClassRemote, isRepresentationClassSerializable, match, normalizeMimeType, normalizeMimeTypeParameter, readExternal, selectBestTextFlavor, setHumanPresentableName, toString, tryToLoadClass, writeExternal |
create
public static JVMLocalDataFlavor create(Document document)
- Creates a
JVMLocalDataFlavor
for a specific Document
which is the
source of Page
s to move or copy.
- Parameters:
document
- the Document
for which to construct the flavor, must not be null
- Returns:
- a
JVMLocalDataFlavor
isJVMLocalDataFlavor
public static boolean isJVMLocalDataFlavor(DataFlavor flavor)
- Checks if a given
DataFlavor
is a JVMLocalDataFlavor
.
- Parameters:
flavor
- any DataFlavor
- Returns:
true
iff the given flavor is a JVMLocalDataFlavor
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.