Package com.adobe.aemds.guide.common
Class GuideButton
- java.lang.Object
-
- com.adobe.cq.sightly.WCMUsePojo
-
- com.adobe.aemds.guide.common.GuideNode
-
- com.adobe.aemds.guide.common.GuideField
-
- com.adobe.aemds.guide.common.GuideButton
-
- All Implemented Interfaces:
FDField,StyledFDField,java.io.Serializable,Use
- Direct Known Subclasses:
GuideListFileAttachmentButton
public class GuideButton extends GuideField
GuideButton class encapsulates basic properties of the adaptive forms Button Component. Some of the properties that it encapsulates are listed below:- Type of the button
- Size of the button
- Since:
- 6.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GuideButton()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetButtonSize()Deprecated.Done to support forms created uptill 6.1 FP1java.lang.StringgetButtonType()java.lang.StringgetGuideFieldType()Returns the field type of the AEM Forms ComponentbooleangetHideTitle()In case of button, we don't have notion of hideTitle Other guide fields have this notionjava.lang.StringgetType()Returns the type of button configured in the authoring dialog-
Methods inherited from class com.adobe.aemds.guide.common.GuideField
getAuthoringConfig, getAutocomplete, getAutofillFieldKeyword, getCaptionInlineStyles, getDescriptionVisibility, getErrorSimulatorString, getFieldLayout, getFieldLayoutName, getHelpIndicatorContent, getIsOldFieldLayout, getIsReadOnly, getIsRequired, getLabelForId, getLongDescription, getPlaceholderText, getShortDescription, getShortDescriptionInlineStyles, getValue, getWidgetInlineStyles, isMandatory, setHelpIndicatorContent
-
Methods inherited from class com.adobe.aemds.guide.common.GuideNode
activate, checkIfPathIsAbsolute, externalize, getAddMessage, getAppearance, getAuthoringConfigJSON, getBindRef, getClientLibRef, getColspan, getCssClassName, getDescription, getEnabled, getEnabledExp, getError, getFieldInlineStyles, getHeight, getI18n, getId, getInlineCssClass, getInlineStyles, getIsEditMode, getIsRepeatable, getItems, getLayoutPath, getLayoutTabType, getLongDescriptionInlineStyles, getName, getNavTitle, getNodeClass, getNonNavigableProperty, getPath, getQuestionMarkInlineStyles, getRemoveMessage, getResourceSuperType, getResourceType, getResponsiveClasses, getSlingRequest, getStyles, getTargetVersion, getTitle, getToolbarPosition, getVersion, getVisible, getVisibleExp, getWidth, getXssapi, getXssDescription, isDocumentFragmentGroup, isLayoutNavigable, isMenuRequired, isValid, isValidDorTemplateRef, setClientLibRef, setResource, setSlingRequest, syncNode, validate
-
Methods inherited from class com.adobe.cq.sightly.WCMUsePojo
get, getComponent, getComponentContext, getCurrentDesign, getCurrentPage, getCurrentStyle, getDesigner, getEditContext, getInheritedProperties, getPageManager, getPageProperties, getProperties, getRequest, getResource, getResourceDesign, getResourcePage, getResourceResolver, getResponse, getSlingScriptHelper, getWcmMode, getXSSAPI, init
-
-
-
-
Method Detail
-
getGuideFieldType
public java.lang.String getGuideFieldType()
Description copied from class:GuideNodeReturns the field type of the AEM Forms Component- Specified by:
getGuideFieldTypein interfaceFDField- Overrides:
getGuideFieldTypein classGuideNode- Returns:
- String representing guide field type
-
getHideTitle
public boolean getHideTitle()
In case of button, we don't have notion of hideTitle Other guide fields have this notion- Overrides:
getHideTitlein classGuideField- Returns:
- boolean indicating if title is hidden or not
-
getButtonType
public java.lang.String getButtonType()
-
getButtonSize
public java.lang.String getButtonSize()
Deprecated.Done to support forms created uptill 6.1 FP1Returns the button size type set in authoring dialog. It can be one of the following- button-small
- button-medium (default)
- button-large
- Returns:
- string representing the size of button
-
getType
public java.lang.String getType()
Returns the type of button configured in the authoring dialog- Returns:
- type of the button configured
-
-