Class RMCell

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

public class RMCell extends RMText
A text shape subclass used to form the basis of a table.
  • Constructor Details

    • RMCell

      public RMCell()
      Creates a new RMCell.
  • Method Details

    • getTable

      public RMCellTable getTable()
      Returns the table for this cell.
    • getRow

      public int getRow()
      Returns the row of this cell.
    • getColumn

      public int getColumn()
      Returns the column of this cell.
    • getColumnSpan

      public int getColumnSpan()
      Returns the number of columns this cell spans.
    • getRowSpan

      public int getRowSpan()
      Returns the number of rows this cell spans.
    • getRowEnd

      public int getRowEnd()
      Returns the end row of this cell.
    • getColumnEnd

      public int getColumnEnd()
      Returns the end column of this cell.
    • getMarginLeft

      public float getMarginLeft()
      Returns the left margin of the text (default to 2).
      Overrides:
      getMarginLeft in class RMText
    • getMarginRight

      public float getMarginRight()
      Returns the right margin of the text (defaults to 2).
      Overrides:
      getMarginRight in class RMText
    • getMarginTop

      public float getMarginTop()
      Returns the top margin of the text (defaults to 1).
      Overrides:
      getMarginTop in class RMText
    • getMarginBottom

      public float getMarginBottom()
      Returns the bottom margin of the text (defaults to 0).
      Overrides:
      getMarginBottom in class RMText
    • toXML

      public RXElement toXML(RXArchiver anArchiver)
      XML archival.
      Overrides:
      toXML in class RMText
    • fromXML

      public Object fromXML(RXArchiver anArchiver, RXElement anElement)
      XML unarchival.
      Overrides:
      fromXML in class RMText