Class RMCrossTabDivider

All Implemented Interfaces:
Archivable, DeepChangeListener, RMPropertyChanger, RMTypes, PropertyChangeListener, Cloneable, EventListener
Direct Known Subclasses:
RMCrossTabColDivider, RMCrossTabRowDivider

public class RMCrossTabDivider extends RMLineShape
This class represents a line that divides a cell row or cell column.
  • Constructor Details

    • RMCrossTabDivider

      public RMCrossTabDivider(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 RMCrossTabRow getRow()
      Returns the divder row as a cell row.
    • getColumn

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

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

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

      public RMCrossTabCol 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.
    • getLength

      public int getLength()
      Returns the length of the divider in terms of rows (or columns).
    • isDeletable

      public boolean isDeletable()
      Description copied from class: RMShape
      Override this for shapes (like a table row) that don't don't make sense to delete by themselves.
      Overrides:
      isDeletable in class RMShape