Package org.daisy.dotify.api.formatter
Class TextBlockProperties
- java.lang.Object
-
- org.daisy.dotify.api.formatter.TextBlockProperties
-
public final class TextBlockProperties extends Object
Provides text block properties. This class is immutable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTextBlockProperties.BuilderProvides a builder for text block properties
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)FormattingTypes.AlignmentgetAlignment()Gets the alignmentintgetFirstLineIndent()Get first line indent, in charactersStringgetIdentifier()Gets the identifierFloatgetRowSpacing()Gets the row spacing, or null if not setintgetTextIndent()Get text indent, in charactersinthashCode()
-
-
-
Method Detail
-
getTextIndent
public int getTextIndent()
Get text indent, in characters- Returns:
- returns the text indent
-
getFirstLineIndent
public int getFirstLineIndent()
Get first line indent, in characters- Returns:
- returns the first line indent
-
getAlignment
public FormattingTypes.Alignment getAlignment()
Gets the alignment- Returns:
- returns the alignment
-
getIdentifier
public String getIdentifier()
Gets the identifier- Returns:
- returns the identifier
-
getRowSpacing
public Float getRowSpacing()
Gets the row spacing, or null if not set- Returns:
- returns the row spacing
-
-