@ConsumerType public interface Title extends Component
Title Sling Model used for the /apps/core/wcm/components/title component.| Modifier and Type | Field and Description |
|---|---|
static String |
PN_DESIGN_DEFAULT_TYPE
Name of the configuration policy property that will store the default value for this title's HTML element type.
|
static String |
PN_TITLE_LINK_DISABLED
Name of the policy property that defines whether or not the title link is disabled.
|
| Modifier and Type | Method and Description |
|---|---|
default @NotNull String |
getExportedType() |
default String |
getLinkURL()
Returns the Title's link URL, if one was set.
|
default String |
getText()
Returns the text to be displayed as title.
|
default String |
getType()
Returns the HTML element type (h1-h6) used for the markup.
|
default boolean |
isLinkDisabled()
Checks if link is disabled on the title.
|
static final String PN_DESIGN_DEFAULT_TYPE
getType(),
Constant Field Valuesstatic final String PN_TITLE_LINK_DISABLED
default String getText()
default in 12.1.0default String getType()
default in 12.1.0default String getLinkURL()
nulldefault boolean isLinkDisabled()
true if link is disabled on the title, false otherwise@NotNull default @NotNull String getExportedType()
getExportedType in interface ComponentgetExportedType in interface com.adobe.cq.export.json.ComponentExporterComponentExporter.getExportedType()Copyright © 2020. All rights reserved.