Class LinkImpl

All Implemented Interfaces:
AttachNotifier, Component, Component.BelongToFrame, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper, HasContextHelp, HasDebugId, HasHtmlCaption, HasHtmlDescription, HasHtmlSanitizer, Link
Direct Known Subclasses:
WebdavDocumentVersionLinkImpl

public class LinkImpl extends AbstractComponent<JmixLink> implements Link
  • Constructor Details

    • LinkImpl

      public LinkImpl()
  • Method Details

    • createComponent

      protected JmixLink createComponent()
    • initComponent

      protected void initComponent(JmixLink component)
    • setUrl

      public void setUrl(String url)
      Specified by:
      setUrl in interface Link
    • getUrl

      @Nullable public String getUrl()
      Specified by:
      getUrl in interface Link
    • setTarget

      public void setTarget(String target)
      Specified by:
      setTarget in interface Link
    • getTarget

      public String getTarget()
      Specified by:
      getTarget in interface Link
    • setRel

      public void setRel(String rel)
      Description copied from interface: Link
      Sets the relation between current document and the target document. Default value is "noopener noreferrer".
      Specified by:
      setRel in interface Link
      Parameters:
      rel - string value of relation (e.g. noreferrer)
    • getRel

      public String getRel()
      Specified by:
      getRel in interface Link
      Returns:
      string value of relation