Class LinkRenderer

All Implemented Interfaces:
IPropertyContainer, ILeafElementRenderer, IRenderer

public class LinkRenderer extends TextRenderer
  • Constructor Details

    • LinkRenderer

      public LinkRenderer (Link link)
      Creates a LinkRenderer from its corresponding layout object.
      Parameters:
      link - the Link which this object should manage
    • LinkRenderer

      public LinkRenderer (Link linkElement, String text)
      Creates a LinkRenderer from its corresponding layout object, with a custom text to replace the contents of the Link.
      Parameters:
      linkElement - the Link which this object should manage
      text - the replacement text
    • LinkRenderer

      protected LinkRenderer (LinkRenderer other)
      Creates a new LinkRenderer as a copy of the given one.
      Parameters:
      other - the LinkRenderer to copy
  • Method Details