|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.jadice.swing.dnd.ImportParameters
public class ImportParameters
A parameter object used to convey relevant context information to ImportHandler
s.
Constructor Summary | |
---|---|
ImportParameters(ViewComponent viewComponent,
Document targetDocument,
int targetIndex)
Deprecated. |
|
ImportParameters(ViewComponent viewComponent,
Document targetDocument,
int targetIndex,
Transferable transferable)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public ImportParameters(ViewComponent viewComponent, Document targetDocument, int targetIndex)
public ImportParameters(ViewComponent viewComponent, Document targetDocument, int targetIndex, Transferable transferable)
Method Detail |
---|
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
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |