Class RMCrossTabFrame

  • All Implemented Interfaces:
    Archivable, DeepChangeListener, RMPropertyChanger, RMTypes, java.beans.PropertyChangeListener, java.lang.Cloneable, java.util.EventListener

    public class RMCrossTabFrame
    extends RMParentShape
    This class wraps a shape around a crosstab to constrain the crosstab's bounds to a region on the page. It also provides support for paginating to multiple pages.
    • Constructor Detail

      • RMCrossTabFrame

        public RMCrossTabFrame()
        Creates a new crosstab.
    • Method Detail

      • getTable

        public RMCrossTab getTable()
        Returns the crosstab associated with this crosstab.
      • createTable

        protected RMCrossTab createTable()
        Creates the RMCrossTab.
      • setRowCount

        public void setRowCount​(int rows)
      • getRowCount

        public int getRowCount()
      • setColumnCount

        public void setColumnCount​(int cols)
      • getColumnCount

        public int getColumnCount()
      • setHeaderRowCount

        public void setHeaderRowCount​(int rows)
      • getHeaderRowCount

        public int getHeaderRowCount()
      • setHeaderColumnCount

        public void setHeaderColumnCount​(int colHeaders)
      • getHeaderColumnCount

        public int getHeaderColumnCount()
      • setDatasetKey

        public void setDatasetKey​(java.lang.String key)
      • getDatasetKey

        public java.lang.String getDatasetKey()
        Description copied from class: RMShape
        Returns the dataset key associated with this shape.
        Overrides:
        getDatasetKey in class RMShape
      • setFilterKey

        public void setFilterKey​(java.lang.String filterKey)
      • getFilterKey

        public java.lang.String getFilterKey()
      • setFormatStyle

        public void setFormatStyle​(int formatStyle)
        note -- any changes to these styles or their ordering need to also be made to RMCrosstab. These @Options are declared here to allow them to be forwarded to the composed RMCrosstab when selected from the CrosstabFrame's property selector
      • getFormatStyle

        public int getFormatStyle()
      • getReprintHeaderRows

        public boolean getReprintHeaderRows()
        Returns whether a paginating table will reprint header rows.
      • setReprintHeaderRows

        public void setReprintHeaderRows​(boolean aFlag)
        Sets whether a paginating table will reprint header rows.
      • computePrefHeight

        protected double computePrefHeight​(double aWidth)
        Override to return preferred height of table.
        Overrides:
        computePrefHeight in class RMParentShape