Class BaseLink


  • public class BaseLink
    extends BiLink
    A simple concrete implementation of a BiLink. Note that this implementation does not generate any link highlights.
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseLink​(LinkKey key, Link link)
      Constructs a base link for the given key and initial link.
    • Constructor Detail

      • BaseLink

        public BaseLink​(LinkKey key,
                        Link link)
        Constructs a base link for the given key and initial link.
        Parameters:
        key - canonical key for this base link
        link - first link
    • Method Detail

      • highlight

        public LinkHighlight highlight​(java.lang.Enum<?> type)
        Description copied from class: BiLink
        Returns the link highlighting to use, based on this bi-link's current state.
        Specified by:
        highlight in class BiLink
        Parameters:
        type - optional highlighting type parameter
        Returns:
        link highlighting model