
com.adobe.aemds.guide.common.GuideRadioButton 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;
/**
* GuideRadioButton encapsulates basic properties of the adaptive form radio button Component.
*/
public class GuideRadioButton extends GuideCheckBox {
/**
* Returns the field type of the Adaptive Forms Component
* @return String representing guide field type
*/
public String getGuideFieldType() {
return resourceProps.get(GuideConstants.GUIDE_FIELD_RADIOBUTTONGROUP , GuideConstants.GUIDE_FIELD_CHECKBOX);
}
/**
* Returns type of HTML input element to be used
* @return {@link com.adobe.aemds.guide.utils.GuideConstants#GUIDE_FIELD_RADIO_INPUT_TYPE}
*/
public String getInputType() {
return GuideConstants.GUIDE_FIELD_RADIO_INPUT_TYPE;
}
/**
* Return the name of class that should be applied to radio button item in case the appearance is radio button
* @return {@link com.adobe.aemds.guide.utils.GuideConstants#GUIDE_FIELD_RADIOBUTTON_ITEM}
*/
public String getItemClassName() {
return GuideConstants.GUIDE_FIELD_RADIOBUTTON_ITEM;
}
/**
* Returns the class based on appearance type that should be applied on a group of
* check box items or radio button items
* @return {@link com.adobe.aemds.guide.utils.GuideConstants#GUIDE_FIELD_RADIOBUTTONGROUP_ITEMS}
*/
public String getItemsClass() {
return GuideConstants.GUIDE_FIELD_RADIOBUTTONGROUP_ITEMS;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy