com.levigo.jadice.document.flavor
Class JVMLocalDataFlavor

java.lang.Object
  extended by java.awt.datatransfer.DataFlavor
      extended by com.levigo.jadice.document.flavor.AbstractJadiceLocalDataFlavor
          extended by com.levigo.jadice.document.flavor.JVMLocalDataFlavor
All Implemented Interfaces:
Externalizable, Serializable, Cloneable

public class JVMLocalDataFlavor
extends AbstractJadiceLocalDataFlavor

A DataFlavor used for moving or copying Pages across Documents within the same JVM.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.datatransfer.DataFlavor
imageFlavor, javaFileListFlavor, javaJVMLocalObjectMimeType, javaRemoteObjectMimeType, javaSerializedObjectMimeType, plainTextFlavor, stringFlavor
 
Method Summary
static JVMLocalDataFlavor create(Document document)
          Creates a JVMLocalDataFlavor for a specific Document which is the source of Pages to move or copy.
static boolean isJVMLocalDataFlavor(DataFlavor flavor)
          Checks if a given DataFlavor is a JVMLocalDataFlavor.
 
Methods inherited from class com.levigo.jadice.document.flavor.AbstractJadiceLocalDataFlavor
equals, hashCode, isFromSameDocument
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static JVMLocalDataFlavor create(Document document)
Creates a JVMLocalDataFlavor for a specific Document which is the source of Pages 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.