Package org.daisy.dotify.api.formatter
Class TableCellProperties
- java.lang.Object
-
- org.daisy.dotify.api.formatter.TableCellProperties
-
public final class TableCellProperties extends Object
Provides properties needed for a table cell. This class is immutable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TableCellProperties.Builder
Provides a builder for creating table properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Border
getBorder()
Gets the border, or null if not set.int
getColSpan()
Gets the column span, in other words, the number of columns that this cell spans.BlockSpacing
getPadding()
Gets the padding.int
getRowSpan()
Gets the row span, in other words, the number of rows that this cell spans.TextBlockProperties
getTextBlockProperties()
Gets the text block properties.int
hashCode()
-
-
-
Method Detail
-
getRowSpan
public int getRowSpan()
Gets the row span, in other words, the number of rows that this cell spans.- Returns:
- returns the row span
-
getColSpan
public int getColSpan()
Gets the column span, in other words, the number of columns that this cell spans.- Returns:
- returns the row span
-
getPadding
public BlockSpacing getPadding()
Gets the padding.- Returns:
- returns the padding
-
getBorder
public Border getBorder()
Gets the border, or null if not set.- Returns:
- returns the border
-
getTextBlockProperties
public TextBlockProperties getTextBlockProperties()
Gets the text block properties.- Returns:
- returns the text block properties
-
-