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

com.adobe.aemds.guide.common.GuideScribble Maven / Gradle / Ivy

/*************************************************************************
 *
 * ADOBE CONFIDENTIAL
 * __________________
 *
 *  Copyright 2014 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and may be covered by U.S. and Foreign Patents,
 * patents in process, and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 **************************************************************************/

package com.adobe.aemds.guide.common;

import com.adobe.aemds.guide.utils.GuideConstants;

/**
 * GuideScribble encapsulates basic properties of the adaptive form scribble Component.
 */
public class GuideScribble extends GuideField {

    /**
     * Returns the field type of the adaptive forms Component
     * @return String representing guide field type
     */
    public String getGuideFieldType(){
        return GuideConstants.GUIDE_FIELD_SCRIBBLE;
    }

    /**
     * Returns the aspect ratio configured for scribble component.
     * @return aspect ratio of the scribble component
     */
    public Double getAspectRatio() {
        return resourceProps.get("aspectRatio", ((Double)GuideConstants.DEFAULT_ASPECT_RATIO));
    }
 }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy