Class ButtonImpl
- java.lang.Object
-
- com.adobe.cq.commerce.core.components.internal.models.v1.button.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
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
RESOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description ButtonImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExportedType()
String
getIcon()
String
getLink()
String
getText()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
RESOURCE_TYPE
protected static final String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getText
public String getText()
- Specified by:
getText
in interfacecom.adobe.cq.wcm.core.components.models.Button
-
getLink
public String getLink()
- Specified by:
getLink
in interfacecom.adobe.cq.wcm.core.components.models.Button
-
getIcon
public String getIcon()
- Specified by:
getIcon
in interfacecom.adobe.cq.wcm.core.components.models.Button
-
getExportedType
public String getExportedType()
- Specified by:
getExportedType
in interfacecom.adobe.cq.wcm.core.components.models.Button
- Specified by:
getExportedType
in interfacecom.adobe.cq.wcm.core.components.models.Component
- Specified by:
getExportedType
in interfacecom.adobe.cq.export.json.ComponentExporter
-
-