Class DefaultImageAdapter
- java.lang.Object
-
- com.jalios.jcms.uicomponent.image.AbstractImageAdapter
-
- com.jalios.jcms.uicomponent.image.DefaultImageAdapter
-
- All Implemented Interfaces:
ImageAdapter
public class DefaultImageAdapter extends AbstractImageAdapter
A default image adapter to get thumbnail version of source image.- Since:
- jcms-9.0.2
-
-
Field Summary
-
Fields inherited from class com.jalios.jcms.uicomponent.image.AbstractImageAdapter
sourceImage
-
-
Constructor Summary
Constructors Constructor Description DefaultImageAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getAdaptedImage()
Should source image be resized?-
Methods inherited from class com.jalios.jcms.uicomponent.image.AbstractImageAdapter
getImage, getImageInfo, getMaxHeight, getMaxWidth, getThumbnail, setImage, setMaxHeight, setMaxWidth
-
-
-
-
Method Detail
-
getAdaptedImage
public java.io.File getAdaptedImage()
Description copied from interface:ImageAdapter
Should source image be resized?- Returns:
- the adapted image
-
-