|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileThumbnailProvider
Base interface for custom thumbnail providers.
Method Summary | |
---|---|
boolean |
accept(java.io.File file)
Returns whether or not this provider can generate thumbnail for the specified file. |
javax.swing.ImageIcon |
provide(java.io.File file,
java.awt.Dimension size,
boolean preview)
Returns custom file thumbnail icon. |
Method Detail |
---|
boolean accept(java.io.File file)
accept
in interface java.io.FileFilter
accept
in interface Filter<java.io.File>
file
- file to provide thumbnail for
javax.swing.ImageIcon provide(java.io.File file, java.awt.Dimension size, boolean preview)
file
- file to provide thumbnail forsize
- preferred thumbnail sizepreview
- whether thumbnail should be a small preview of file content or not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |