@ConsumerType public interface Button extends ComponentExporter
Button Sling Model used for the /apps/core/wcm/components/button component.| Modifier and Type | Method and Description |
|---|---|
default String |
getAccessibilityLabel()
Returns an accessibility label for the button.
|
default @NotNull String |
getExportedType()
Returns the type of the resource for which the export is performed.
|
default String |
getIcon()
Returns the button icon identifier.
|
default String |
getLink()
Returns the button link.
|
default String |
getText()
Returns the button text.
|
default String getText()
default String getLink()
default String getIcon()
default String getAccessibilityLabel()
@NotNull default @NotNull String getExportedType()
ComponentExporterReturns the type of the resource for which the export is performed.
NOTE: methods whose JSON serialization would lead to the same JSON property name (":type") will not be serialized.
getExportedType in interface ComponentExporterComponentExporter.getExportedType()Copyright © 2010 - 2020 Adobe. All Rights Reserved