com.levigo.jadice.swing.dnd
Class ImportParameters
java.lang.Object
com.levigo.jadice.swing.dnd.ImportParameters
public class ImportParameters
- extends Object
A parameter object used to convey relevant context information to ImportHandler
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportParameters
public ImportParameters(ViewComponent viewComponent,
Document targetDocument,
int targetIndex)
getViewComponent
public ViewComponent getViewComponent()
- The
ViewComponent
handling the import. As an import may occur without ViewComponent
involvement, this method may return null
.
getTargetDocument
public Document getTargetDocument()
- Return the
Document
into which content is supposed to be imported.
getTargetIndex
public int getTargetIndex()
- Return the target page index at which imported content sould be placed.