Examples of cropAspectRatios()


Examples of com.citytechinc.cq.component.annotations.widgets.Html5SmartImage.cropAspectRatios()

    parameters.setHeight(getHeightForField(smartImageAnnotation));
    parameters.setTab(smartImageAnnotation.tab());

    List<DialogElement> children = new ArrayList<DialogElement>();

    if (smartImageAnnotation.cropAspectRatios().length > 0) {
      children.add(buildCropConfig(smartImageAnnotation.cropAspectRatios()));
    }

    parameters.setContainedElements(children);
View Full Code Here

Examples of com.citytechinc.cq.component.annotations.widgets.Html5SmartImage.cropAspectRatios()

    parameters.setTab(smartImageAnnotation.tab());

    List<DialogElement> children = new ArrayList<DialogElement>();

    if (smartImageAnnotation.cropAspectRatios().length > 0) {
      children.add(buildCropConfig(smartImageAnnotation.cropAspectRatios()));
    }

    parameters.setContainedElements(children);

    return new Html5SmartImageWidget(parameters);
View Full Code Here

Examples of com.citytechinc.cq.component.annotations.widgets.Html5SmartImage.cropAspectRatios()

    parameters.setHeight(getHeightForField(smartImageAnnotation));
    parameters.setTab(smartImageAnnotation.tab());

    List<DialogElement> children = new ArrayList<DialogElement>();

    if (smartImageAnnotation.cropAspectRatios().length > 0) {
      children.add(buildCropConfig(smartImageAnnotation.cropAspectRatios()));
    }

    parameters.setContainedElements(children);
View Full Code Here

Examples of com.citytechinc.cq.component.annotations.widgets.Html5SmartImage.cropAspectRatios()

    parameters.setTab(smartImageAnnotation.tab());

    List<DialogElement> children = new ArrayList<DialogElement>();

    if (smartImageAnnotation.cropAspectRatios().length > 0) {
      children.add(buildCropConfig(smartImageAnnotation.cropAspectRatios()));
    }

    parameters.setContainedElements(children);

    return new Html5SmartImageWidget(parameters);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.