Class Leader

  • Direct Known Subclasses:
    LeaderSegment

    public class Leader
    extends Object

    Leader is a data object used when separating two chunks of text within a single row.

    The constructor is private, use Leader.Builder to create new instances.

    • Method Detail

      • getPattern

        public String getPattern()
        Get the pattern for this Leader. The pattern is used to fill up the space between the text preceding the leader and the text following it.
        Returns:
        returns the pattern
      • getPosition

        public Position getPosition()
        Get the Position for this Leader.
        Returns:
        returns the Position
      • getAlignment

        public Leader.Alignment getAlignment()
        Get the Alignment for this Leader. The alignment effects the placement of the text following the leader.
        Returns:
        returns the Alignment