|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This delegate handles thumbnails on behalf of the PicsStore
. It cuts thumbnails out of the picture entries
when entries are inserted
into an index, and pastes them back in when entries are
retrieved. Additionally, a delegate can be instructed to
delete thumbnails e. g. when entries are deleted from an
index.
Method Summary | |
void |
cut(PictureEntry entry)
Cuts the thumbnail from the given picture entry if necessary. |
void |
delete(PictureEntry entry)
Deletes the thumbnail belonging to the given picture entry. |
void |
paste(PictureEntry entry)
Pastes the thumbnail belonging to the given picture entry back into the entry. |
Method Detail |
public void cut(PictureEntry entry) throws IOException
entry
- The entry from which the thumbnail is
removed and stored away.
IOException
- if an I/O error occurs.public void paste(PictureEntry entry) throws IOException
entry
- The picture entry whose thumbnail shall be
restored.
IOException
- if an I/O error occurs.public void delete(PictureEntry entry) throws IOException
entry
- The picture entry whose thumbnail shall be
deleted.
IOException
- if an I/O error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |