Package com.jalios.jcms.wysiwyg.image
Class WysiwygResponsiveImageRenderer
- java.lang.Object
-
- com.jalios.jcms.uicomponent.image.DefaultResponsiveImageRenderer
-
- com.jalios.jcms.wysiwyg.image.WysiwygResponsiveImageRenderer
-
- All Implemented Interfaces:
ResponsiveImageRenderer
public class WysiwygResponsiveImageRenderer extends DefaultResponsiveImageRenderer
- Since:
- jcms-10.0.7
- Author:
- Sylvain Devaux
-
-
Field Summary
-
Fields inherited from interface com.jalios.jcms.uicomponent.image.ResponsiveImageRenderer
IMAGE_SIZES_ATTR_NAME, IMAGE_SIZES_ATTR_VALUES_SEPARATOR, IMAGE_SRCSET_ATTR_NAME, IMAGE_SRCSET_ATTR_VALUES_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description WysiwygResponsiveImageRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Integer>
getResponsiveImagesSrcsetWidthList()
void
render(org.jsoup.nodes.Element img, FileDocument fileDoc, int uiWidth, int uiHeight)
An empty implementation.void
setResponsiveImagesSrcsetWidthList(java.util.List<java.lang.Integer> responsiveImagesSrcsetWidthList)
-
-
-
Method Detail
-
render
public void render(org.jsoup.nodes.Element img, FileDocument fileDoc, int uiWidth, int uiHeight)
Description copied from class:DefaultResponsiveImageRenderer
An empty implementation.- Specified by:
render
in interfaceResponsiveImageRenderer
- Overrides:
render
in classDefaultResponsiveImageRenderer
-
getResponsiveImagesSrcsetWidthList
public java.util.List<java.lang.Integer> getResponsiveImagesSrcsetWidthList()
- Returns:
- the responsiveImagesSrcsetWidthList
-
setResponsiveImagesSrcsetWidthList
public void setResponsiveImagesSrcsetWidthList(java.util.List<java.lang.Integer> responsiveImagesSrcsetWidthList)
- Parameters:
responsiveImagesSrcsetWidthList
- the responsiveImagesSrcsetWidthList to set
-
-