Class RMCellDivider

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

public class RMCellDivider extends RMLineSegment
This class represents a line that divedes a cell row or cell column.
  • Constructor Details

    • RMCellDivider

      public RMCellDivider(Object aRowCol)
      Creates a new divider for given row or column.
  • Method Details

    • isRowDivider

      public boolean isRowDivider()
      Returns whether divider is a row divider.
    • isColumnDivider

      public boolean isColumnDivider()
      Returns whether divider is a column divider.
    • getRow

      public RMCellRow getRow()
      Returns the divder row as a cell row.
    • getColumn

      public RMCellColumn getColumn()
      Returns the divider column as cell column.
    • getTable

      public RMCellTable getTable()
      Returns the table this divider is a part of.
    • getNextRow

      public RMCellRow getNextRow()
      Returns the divider row to the right of the divider.
    • getNextColumn

      public RMCellColumn getNextColumn()
      Returns the divider column below the divider.
    • getStart

      public int getStart()
      Returns the starting row index (if column divider) or column index (if row divider) for this divider.
    • getEnd

      public int getEnd()
      Returns the ending row index (if column divider) or column index (if row divider) for this divider.