Package org.daisy.dotify.api.formatter
Class Leader
- java.lang.Object
- 
- org.daisy.dotify.api.formatter.Leader
 
- 
 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. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classLeader.AlignmentAlignment values for leadersstatic classLeader.BuilderThe Builder is used when creating a Leader instance
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedLeader(Leader l)protectedLeader(Leader.Builder builder)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Leader.AlignmentgetAlignment()Get the Alignment for this Leader.StringgetPattern()Get the pattern for this Leader.PositiongetPosition()Get the Position for this Leader.
 
- 
- 
- 
Constructor Detail- 
Leaderprotected Leader(Leader.Builder builder) 
 - 
Leaderprotected Leader(Leader l) 
 
- 
 - 
Method Detail- 
getPatternpublic 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
 
 - 
getPositionpublic Position getPosition() Get the Position for this Leader.- Returns:
- returns the Position
 
 - 
getAlignmentpublic Leader.Alignment getAlignment() Get the Alignment for this Leader. The alignment effects the placement of the text following the leader- Returns:
- returns the Alignment
 
 
- 
 
-