Class ButtonImpl

  • All Implemented Interfaces:
    com.adobe.cq.export.json.ComponentExporter, com.adobe.cq.wcm.core.components.models.Button, com.adobe.cq.wcm.core.components.models.Component

    @Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class,
           adapters=com.adobe.cq.wcm.core.components.models.Button.class,
           resourceType="core/cif/components/content/button/v1/button",
           defaultInjectionStrategy=OPTIONAL)
    public class ButtonImpl
    extends Object
    implements com.adobe.cq.wcm.core.components.models.Button
    • Constructor Detail

      • ButtonImpl

        public ButtonImpl()
    • Method Detail

      • getText

        public String getText()
        Specified by:
        getText in interface com.adobe.cq.wcm.core.components.models.Button
      • getLink

        public String getLink()
        Specified by:
        getLink in interface com.adobe.cq.wcm.core.components.models.Button
      • getIcon

        public String getIcon()
        Specified by:
        getIcon in interface com.adobe.cq.wcm.core.components.models.Button
      • getExportedType

        public String getExportedType()
        Specified by:
        getExportedType in interface com.adobe.cq.wcm.core.components.models.Button
        Specified by:
        getExportedType in interface com.adobe.cq.wcm.core.components.models.Component
        Specified by:
        getExportedType in interface com.adobe.cq.export.json.ComponentExporter