public class ImportParameters extends Object
ImportHandler
s.Constructor and Description |
---|
ImportParameters(ViewComponent viewComponent,
Document targetDocument,
int targetIndex,
Transferable transferable) |
Modifier and Type | Method and Description |
---|---|
Document |
getTargetDocument()
Return the
Document into which content is supposed to be imported. |
int |
getTargetIndex()
Return the target page index at which imported content should be placed.
|
Transferable |
getTransferable()
The
Transferable associated with this import. |
ViewComponent |
getViewComponent()
The
ViewComponent handling the import. |
public ImportParameters(ViewComponent viewComponent, Document targetDocument, int targetIndex, Transferable transferable)
public ViewComponent getViewComponent()
ViewComponent
handling the import. As an import may occur without ViewComponent
involvement, this method may return null
.public Document getTargetDocument()
Document
into which content is supposed to be imported.public int getTargetIndex()
public Transferable getTransferable()
Transferable
associated with this import. Due to quirks in the D&D API, the
Transferable may not be available and therefore null
.Copyright © 2024 levigo holding gmbh. All rights reserved.