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 class
TextBlockProperties.Builder
Provides a builder for text block properties
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
FormattingTypes.Alignment
getAlignment()
Gets the alignmentint
getFirstLineIndent()
Get first line indent, in charactersString
getIdentifier()
Gets the identifierFloat
getRowSpacing()
Gets the row spacing, or null if not setint
getTextIndent()
Get text indent, in charactersint
hashCode()
-
-
-
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
-
-