Class AbstractTextCell

java.lang.Object
org.vandeseer.easytable.structure.cell.AbstractCell
org.vandeseer.easytable.structure.cell.AbstractTextCell
Direct Known Subclasses:
TextCell, VerticalTextCell

public abstract class AbstractTextCell extends AbstractCell
  • Field Details

    • textColor

      protected Color textColor
    • lineSpacing

      protected float lineSpacing
  • Constructor Details

    • AbstractTextCell

      public AbstractTextCell()
  • Method Details

    • getFont

      public org.apache.pdfbox.pdmodel.font.PDFont getFont()
    • getFontSize

      public Integer getFontSize()
    • getTextColor

      public Color getTextColor()
    • getText

      public abstract String getText()
    • getMinHeight

      public float getMinHeight()
    • getTextHeight

      public float getTextHeight()
      Calculates the cell's text's height in respect when horizontally printed/rendered.
      Returns:
      the height of the cell's text taking into account spacing and line breaks
    • getWidthOfText

      public float getWidthOfText()
    • getMaxWidth

      public float getMaxWidth()