com.levigo.jadice.swing.thumbnailview.dnd
Class IntraDOCPPageImportHandler

java.lang.Object
  extended by com.levigo.jadice.swing.thumbnailview.dnd.DocumentUnmarshallerPageImportHandler
      extended by com.levigo.jadice.swing.thumbnailview.dnd.IntraDOCPPageImportHandler
All Implemented Interfaces:
ImportHandler

public class IntraDOCPPageImportHandler
extends DocumentUnmarshallerPageImportHandler

An ImportHandler implementation supporting the import of transfer data from other instances of a jadice ViewComponent residing in another JVM instance on the same host. It uses an internal deserialization mechanism to deserialize a given transfer-bundle.

See Also:
IntraDOCPDataFlavor, IntraDOCPPageExportHandler

Constructor Summary
IntraDOCPPageImportHandler()
           
 
Method Summary
protected  com.levigo.jadice.document.internal.marshalling.DocumentUnmarshaller getUnmarshaller(Transferable transferable, DataFlavor flavor, ImportParameters parameters)
          Return the unmarshaller to be used to unmarshal the data under the given conditions.
 boolean isDataFlavorSupported(DataFlavor flavor, ImportParameters parameters)
          Check whether the given DataFlavor is supported by this import handler.
 
Methods inherited from class com.levigo.jadice.swing.thumbnailview.dnd.DocumentUnmarshallerPageImportHandler
beforeImportDocument, getImportActionForFlavor, getReaderControls, getTransferDataAsStream, importData, setReaderControls
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntraDOCPPageImportHandler

public IntraDOCPPageImportHandler()
Method Detail

isDataFlavorSupported

public boolean isDataFlavorSupported(DataFlavor flavor,
                                     ImportParameters parameters)
Description copied from interface: ImportHandler
Check whether the given DataFlavor is supported by this import handler.

Parameters:
flavor - The flavor in which the transfer bundle will be provided when supported.
parameters - the import parameters containing additional context information
Returns:
true if the given flavor is supported.

getUnmarshaller

protected com.levigo.jadice.document.internal.marshalling.DocumentUnmarshaller getUnmarshaller(Transferable transferable,
                                                                                               DataFlavor flavor,
                                                                                               ImportParameters parameters)
Description copied from class: DocumentUnmarshallerPageImportHandler
Return the unmarshaller to be used to unmarshal the data under the given conditions.

Specified by:
getUnmarshaller in class DocumentUnmarshallerPageImportHandler
Returns:


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