Interface Button
-
- All Superinterfaces:
Component
,ComponentExporter
@ConsumerType public interface Button extends Component
Defines theButton
Sling Model used for the/apps/core/wcm/components/button
component.- Since:
- com.adobe.cq.wcm.core.components.models 12.8.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default String
getAccessibilityLabel()
Returns an accessibility label for the button.default String
getIcon()
Returns the button icon identifier.default String
getLink()
Returns the button link.default String
getText()
Returns the button text.-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.Component
getData, getExportedType, getId
-
-
-
-
Method Detail
-
getText
default String getText()
Returns the button text.- Returns:
- the button text
- Since:
- com.adobe.cq.wcm.core.components.models 12.8.0
-
getLink
default String getLink()
Returns the button link.- Returns:
- the button link
- Since:
- com.adobe.cq.wcm.core.components.models 12.8.0
-
getIcon
default String getIcon()
Returns the button icon identifier.- Returns:
- the button icon identifier
- Since:
- com.adobe.cq.wcm.core.components.models 12.8.0
-
getAccessibilityLabel
default String getAccessibilityLabel()
Returns an accessibility label for the button.- Returns:
- an accessibility label for the button
- Since:
- com.adobe.cq.wcm.core.components.models 12.9.0
-
-