Interface Link

  • All Superinterfaces:
    Component, com.adobe.cq.export.json.ComponentExporter

    @ConsumerType
    public interface Link
    extends Component
    Defines the sling model for /apps/core/fd/components/formsportal/link component.
    Since:
    com.adobe.cq.forms.core.components.models.aemform 1.0.0
    • Method Detail

      • getAssetPathWithQueryParams

        default java.lang.String getAssetPathWithQueryParams()
        Returns url to which the component is linking to The URL contains query parameters if configured
        Returns:
        URL after processing, or # if none is set
        Since:
        com.adobe.cq.forms.core.components.models.formsportal 2.0.0
      • getTitle

        default java.lang.String getTitle()
        Returns the text shown in Link
        Returns:
        Title string. It is a mandatory field.
        Since:
        com.adobe.cq.forms.core.components.models.formsportal 1.0.0
      • getTooltip

        default java.lang.String getTooltip()
        Return the text shown on hovering over link
        Returns:
        Tooltip string. Can return null if not set
        Since:
        com.adobe.cq.forms.core.components.models.formsportal 1.0.0
      • getAssetType

        default Link.AssetType getAssetType()
        Return the asset type that is linked to
        Returns:
        Asset Type if set
        Since:
        com.adobe.cq.forms.core.components.models.formsportal 1.0.0
      • getAssetPath

        default java.lang.String getAssetPath()
        Returns path to the asset to which the URL would redirect to Note that this is not the url. For url, use getAssetPathWithQueryParams()
        Returns:
        Path to asset if configured
        Since:
        com.adobe.cq.forms.core.components.models.formsportal 1.0.0
      • getAccessibilityLabel

        default java.lang.String getAccessibilityLabel()
        Returns the accessibility label on corresponding link
        Returns:
        accessibility label
        Since:
        com.adobe.cq.forms.core.components.models.formsportal 2.1.0