
com.adobe.aemds.guide.common.GuideChart Maven / Gradle / Ivy
/*
* ***********************************************************************
* ADOBE CONFIDENTIAL
* __________________
*
* Copyright 2015 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 java.util.Map;
import com.adobe.aemds.guide.utils.GuideConstants;
/**
* GuideChart encapsulates basic properties of the adaptive forms Chart Component.
*/
public class GuideChart extends GuideField {
/**
* Returns the alternate text for a place holder icon for chart in authoring
* @return String
*/
public String getAuthoringAltText() {
return externalize("Chart");
}
/**
* Returns the field type of the Adaptive Forms Component
* @return String representing guide field type
*/
public String getGuideFieldType() {
return GuideConstants.GUIDE_FIELD_CHART;
}
public String getChartType() {
return resourceProps.get("chartType", "");
}
public Map getAuthoringConfig(){
Map authoringConfig = super.getAuthoringConfig();
authoringConfig.put(GuideConstants.IS_INTERACTIVE_COMMUNICATION_CHART_RESOURCE, getResource().isResourceType(GuideConstants.RT_WEB_DOCUMENT_CHART));
return authoringConfig;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy