|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pdfsam.guiclient.commons.business.loaders.PdfThumbnailsLoader
public class PdfThumbnailsLoader
Loads a document a create thumbnails
| Constructor Summary | |
|---|---|
PdfThumbnailsLoader(JVisualPdfPageSelectionPanel panel)
|
|
| Method Summary | |
|---|---|
void |
addFile(java.io.File file)
add a file to the JList |
void |
addFile(java.io.File file,
boolean checkIfAlreadyAdded)
add a file to the JList |
void |
addFile(java.io.File file,
java.lang.String password)
Add file without a template |
void |
addFile(java.io.File file,
java.lang.String password,
java.util.List<DocumentPage> template)
add a file to the JList |
boolean |
canLoad()
check if the panel is empty and, if necessary shows a dialog to ask the user |
void |
cleanCreator()
Clean creator |
long |
getId()
|
void |
showFileChooserAndAddFile()
adds a file to the JList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PdfThumbnailsLoader(JVisualPdfPageSelectionPanel panel)
| Method Detail |
|---|
public void showFileChooserAndAddFile()
throws ThumbnailCreationException
ThumbnailCreationExceptionpublic boolean canLoad()
public void addFile(java.io.File file,
java.lang.String password,
java.util.List<DocumentPage> template)
throws ThumbnailCreationException
file - input filepassword - passwordtemplate - pages template
ThumbnailCreationException
public void addFile(java.io.File file,
java.lang.String password)
throws ThumbnailCreationException
file - password -
ThumbnailCreationException
public void addFile(java.io.File file)
throws ThumbnailCreationException
file - input file
ThumbnailCreationException
public void addFile(java.io.File file,
boolean checkIfAlreadyAdded)
throws ThumbnailCreationException
file - checkIfAlreadyAdded - if true it checks if the list is already filled, if so it asks the user
ThumbnailCreationExceptionpublic void cleanCreator()
public long getId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||