Class HighlightConditions

    • Method Detail

      • locationPrefix

        public static <C extends HasElementHighlightCondition<C> locationPrefix​(String prefix)
        Highlight if the navigation path starts with prefix.
        Type Parameters:
        C - the target type
        Parameters:
        prefix - the prefix to match on the location path
        Returns:
        the highlight condition
      • always

        public static <C extends HasElementHighlightCondition<C> always()
        Always highlight.
        Type Parameters:
        C - the target type
        Returns:
        an always true highlight condition
      • never

        public static <C extends HasElementHighlightCondition<C> never()
        Never highlight.
        Type Parameters:
        C - the target type
        Returns:
        an always false highlight condition