Class SortableLink

All Implemented Interfaces:
Component, Serializable, Cloneable, Comparable<Object>

public class SortableLink extends Link
A HTML link element (a) which can be sorted according to an additional attribute, the sortString. The sortString must be set via setSortString(String). Sorting is case insensitive. A SortableLink without a href will be rendered as a span.
See Also:
  • Constructor Details

  • Method Details

    • setHref

      public void setHref(String href)
      Description copied from class: Link
      sets the link url
      Overrides:
      setHref in class Link
      Parameters:
      href - the url
    • setSortString

      public void setSortString(String s)
      Sets sortString (the string by which this link is sorted)
      Parameters:
      s -
    • getSortString

      public String getSortString()
      Gets the sortSting
      Returns:
      the sortString