|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jomic.comic.ComicModel
public class ComicModel
Representation of a comic book.
| Constructor Summary | |
|---|---|
ComicModel(File newArchive)
Creates ComicModel from newArchive. |
|
ComicModel(File newComicArchiveFile,
ProgressFrame newProgressFrame)
Creates ComicModel from newArchive. |
|
| Method Summary | |
|---|---|
void |
check(JProgressBar bar)
Attempt to extract and parse all images. |
void |
dispose()
Release all resources related to the comic. |
File |
getCacheDir()
Get directory where extracted copies of images are stored. |
ComicImage |
getComicImage(int index)
Get ComicImage at index. |
RenderedImage |
getImage(int index)
Get image at index. |
int |
getImageCount()
Get number of images. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComicModel(File newArchive)
throws IOException,
InterruptedException
newArchive - Description of the parameter
IOException - Description of the exception
InterruptedException - Description of the exception
public ComicModel(File newComicArchiveFile,
ProgressFrame newProgressFrame)
throws IOException,
InterruptedException
newComicArchiveFile - Description of the parameternewProgressFrame - Description of the parameter
IOException - Description of the exception
InterruptedException - Description of the exception| Method Detail |
|---|
public final RenderedImage getImage(int index)
getComicImage(int)public final int getImageCount()
public File getCacheDir()
public ComicImage getComicImage(int index)
getImage(int)public final void dispose()
public void check(JProgressBar bar)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||