All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.citytechinc.cq.component.annotations.AspectRatio Maven / Gradle / Ivy

There is a newer version: 7.0.0
Show newest version
package com.citytechinc.cq.component.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.CLASS)
@Target({ ElementType.FIELD, ElementType.METHOD })
public @interface AspectRatio {

    /**
     * The text to display for the aspect ratio
     *
     * @return String
     */
    String text();

    /**
     * The width part of the aspect ratio
     *
     * @return int
     */
    int width();

    /**
     * The height part of the aspect ratio
     *
     * @return int
     */
    int height();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy