Class RMCrossTabCell

    • Constructor Detail

      • RMCrossTabCell

        public RMCrossTabCell()
        Creates a new RMCrossTabCell.
    • Method Detail

      • getTable

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

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

        public int getCol()
        Returns the column of this cell.
      • getColSpan

        public int getColSpan()
        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.
      • getShowLeftBorder

        public boolean getShowLeftBorder()
        Returns whether cell shows left border.
      • setShowLeftBorder

        public void setShowLeftBorder​(boolean aFlag)
        Sets whether cell shows left border.
      • getShowRightBorder

        public boolean getShowRightBorder()
        Returns whether cell shows right border.
      • setShowRightBorder

        public void setShowRightBorder​(boolean aFlag)
        Sets whether cell shows right border.
      • getShowTopBorder

        public boolean getShowTopBorder()
        Returns whether cell shows top border.
      • setShowTopBorder

        public void setShowTopBorder​(boolean aFlag)
        Sets whether cell shows top border.
      • getShowBottomBorder

        public boolean getShowBottomBorder()
        Returns whether cell shows bottom border.
      • setShowBottomBorder

        public void setShowBottomBorder​(boolean aFlag)
        Sets whether cell shows bottom border.
      • setShowBorders

        public void setShowBorders​(boolean left,
                                   boolean right,
                                   boolean top,
                                   boolean bottom)
        Convenience method to set all borders at once
      • getGrouping

        public RMGrouping getGrouping()
        Returns the grouping.
      • setGrouping

        public void setGrouping​(RMGrouping aGrouping)
        Sets the grouping.
      • getGroupingKey

        public java.lang.String getGroupingKey()
      • setGroupingKey

        public void setGroupingKey​(java.lang.String key)
      • getGroup

        public RMGroup getGroup()
        Returns the group for this cell.
      • setGroup

        protected void setGroup​(RMGroup aGroup)
        Sets the group for this cell.
      • getColEnd

        public int getColEnd()
        Returns the end column of this cell.
      • getCellBefore

        public RMCrossTabCell getCellBefore()
        Returns the cell before, or to the left of, this cell.
      • getCellAfter

        public RMCrossTabCell getCellAfter()
        Returns the cell after, or to the right of, this cell.
      • getCellAbove

        public RMCrossTabCell getCellAbove()
        Returns the cell just above this cell.
      • getCellBelow

        public RMCrossTabCell getCellBelow()
        Returns the cell just below this cell.
      • isColumnHeader

        public boolean isColumnHeader()
        Returns whether this cell is a column header cell.
      • isRowHeader

        public boolean isRowHeader()
        Returns whether this cell is a row header cell.
      • getMarginDefault

        public java.awt.Insets getMarginDefault()
        Returns the default text margin for RMCell (top=5, left=5, right=5, bottom=5).
        Overrides:
        getMarginDefault in class RMTextShape
      • clearContents

        public void clearContents()
        Clears the text and grouping from this cell.
      • 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 RMTextShape