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