|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.meshcms.core.AbstractThumbnail
org.meshcms.core.GalleryThumbnail
Field Summary | |
static int |
THUMB_IMAGE_SIZE
Width and height of the image in the thumbnail. |
static int |
THUMB_SIZE
Width and height of the thumbnail. |
Fields inherited from class org.meshcms.core.AbstractThumbnail |
DEFAULT_BORDER_COLOR |
Constructor Summary | |
GalleryThumbnail()
|
Method Summary | |
protected boolean |
createThumbnail(java.io.File imageFile,
java.io.File thumbnailFile)
Creates the thumbnail. |
java.lang.String |
getSuggestedFileName()
Returns the recommended file name for the current thumbnail. |
boolean |
isHighQuality()
Returns the quality setting. |
void |
setHighQuality(boolean highQuality)
Enables or disables better quality for image resizing. |
Methods inherited from class org.meshcms.core.AbstractThumbnail |
averageResize, checkAndCreate, drawResizedImage, linearResize, resize, resizeAndDrawImage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int THUMB_SIZE
public static final int THUMB_IMAGE_SIZE
Constructor Detail |
public GalleryThumbnail()
Method Detail |
public java.lang.String getSuggestedFileName()
AbstractThumbnail
getSuggestedFileName
in class AbstractThumbnail
protected boolean createThumbnail(java.io.File imageFile, java.io.File thumbnailFile)
AbstractThumbnail
createThumbnail
in class AbstractThumbnail
imageFile
- source image file to create thumbnail fromthumbnailFile
- destination file
public boolean isHighQuality()
public void setHighQuality(boolean highQuality)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |