java.lang.Object
org.apache.wicket.markup.head.HeaderItem
com.inductiveautomation.ignition.gateway.web.components.LinkHeaderItem
All Implemented Interfaces:
Serializable, org.apache.wicket.util.io.IClusterable
Direct Known Subclasses:
LinkReferenceHeaderItem

public abstract class LinkHeaderItem extends org.apache.wicket.markup.head.HeaderItem
See Also:
  • Constructor Details

    • LinkHeaderItem

      protected LinkHeaderItem()
  • Method Details

    • forReference

      public static LinkReferenceHeaderItem forReference(org.apache.wicket.request.resource.ResourceReference reference, String rel)
      Parameters:
      reference - a reference to the resource for the href url
      rel - the relationship to the document (ex. "icon")
      Returns:
      A LinkReferenceHeaderItem for the reference given
    • forReference

      public static LinkReferenceHeaderItem forReference(org.apache.wicket.request.resource.ResourceReference reference, String rel, String sizes)
      Parameters:
      reference - a reference to the resource for the href url
      rel - the relationship to the document (ex. "icon")
      sizes - the sizes for the visual media referenced (ex. "32x32")
      Returns:
      A LinkReferenceHeaderItem for the reference given
    • forReference

      public static LinkReferenceHeaderItem forReference(org.apache.wicket.request.resource.ResourceReference reference, String rel, String sizes, String color)
      Parameters:
      reference - a reference to the resource for the href url
      rel - the relationship to the document (ex. "icon")
      sizes - the sizes for the visual media referenced (ex. "32x32") most likely will be null if using the color attribute
      color - the color for the specific safari pinned tab case (ex. "#f7901e")
      Returns:
      A LinkReferenceHeaderItem for the reference given
    • forReference

      public static LinkReferenceHeaderItem forReference(org.apache.wicket.request.resource.ResourceReference reference, org.apache.wicket.request.mapper.parameter.PageParameters pageParameters, String rel, String sizes, String color)
      Parameters:
      reference - a reference to the resource for the href url
      pageParameters - the parameters for the Link resource reference
      rel - the relationship to the document (ex. "icon")
      sizes - the sizes for the visual media referenced (ex. "32x32")
      color - the color for the specific safari pinned tab case (ex. "#f7901e")
      Returns:
      A LinkReferenceHeaderItem for the reference given
    • internalRenderLinkReference

      protected final void internalRenderLinkReference(org.apache.wicket.request.Response response, String url, String rel, String sizes, String color)