Class RMCrossTabFrame

All Implemented Interfaces:
Archivable, DeepChangeListener, RMPropertyChanger, RMTypes, PropertyChangeListener, Cloneable, 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 Details

    • RMCrossTabFrame

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

    • 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(String key)
    • getDatasetKey

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

      public void setFilterKey(String filterKey)
    • getFilterKey

      public 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.
    • rpgAll

      public RMShape rpgAll(ReportOwner anRptOwner, RMShape aParent)
      Override to constrain child crosstab to frame.
      Overrides:
      rpgAll in class RMParentShape
    • paintShape

      public void paintShape(RMShapePainter g)
      Paints crosstab.
      Overrides:
      paintShape in class RMShape
    • computePrefHeight

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

      public boolean childrenSuperSelectImmediately()
      Editor method.
      Overrides:
      childrenSuperSelectImmediately in class RMShape
    • toXMLShape

      protected RXElement toXMLShape(RXArchiver anArchiver)
      XML Archival.
      Overrides:
      toXMLShape in class RMParentShape
    • fromXMLShape

      protected void fromXMLShape(RXArchiver anArchiver, RXElement anElement)
      XML Unarchival.
      Overrides:
      fromXMLShape in class RMParentShape