com.levigo.jadice.document.flavor
Class ReorderDataFlavor

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

public class ReorderDataFlavor
extends AbstractJadiceLocalDataFlavor

A DataFlavor used for reordering Pages within the same Document.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.datatransfer.DataFlavor
imageFlavor, javaFileListFlavor, javaJVMLocalObjectMimeType, javaRemoteObjectMimeType, javaSerializedObjectMimeType, plainTextFlavor, stringFlavor
 
Method Summary
static ReorderDataFlavor create(Document document)
          Creates a ReorderDataFlavor for a specific Document to which the reordering shall be applied.
static boolean isReorderFlavor(DataFlavor flavor)
          Checks if a given DataFlavor is a ReorderDataFlavor.
 
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 ReorderDataFlavor create(Document document)
Creates a ReorderDataFlavor for a specific Document to which the reordering shall be applied.

Parameters:
document - the Document for which to construct the flavor, must not be null
Returns:
a ReorderDataFlavor

isReorderFlavor

public static boolean isReorderFlavor(DataFlavor flavor)
Checks if a given DataFlavor is a ReorderDataFlavor.

Parameters:
flavor - any DataFlavor
Returns:
true iff the given flavor is a ReorderDataFlavor


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.