Class ColumnWrap

All Implemented Interfaces:
Serializable, quadbase.common.util.internal.IReportImage

public class ColumnWrap extends ReportLine
See Also:
  • Field Details

  • Constructor Details

    • ColumnWrap

      public ColumnWrap(double x)
      Rather than have the data take up only a portion of the page width, and extend over multiple pages in length, user can wrap the columns so that they will continue to the right of the original columns on the first page of the report
  • Method Details

    • setWrapCount

      public void setWrapCount(int ct)
      Sets the number of times user would like the columns to wrap in the page. Setting ct to "-1" will cause the wrapping to occur as many times as can fit within the page width.
    • getWrapCount

      public int getWrapCount()
      Gets number of times of the columns wrap in a page.
    • setY

      public void setY(double yy)
      for internal use only
      Overrides:
      setY in class ReportElement
      Parameters:
      yy - y-coordinate value of the upper left corner of this element
    • copy

      public void copy(ColumnWrap _line)
      for internal use only
    • deepCopy

      public void deepCopy(ColumnWrap _line)
      for internal use only
    • applyTemplate

      public void applyTemplate(ColumnWrap _line)
      for internal use only
    • copyTemplate

      public void copyTemplate(ColumnWrap _line)
      for internal use only
    • write

      public void write(DataOutput out) throws IOException
      for internal use only
      Overrides:
      write in class ReportLine
      Throws:
      IOException
    • writeXML

      public void writeXML(Writer out, boolean writeElementTag) throws IOException
      for internal use only
      Overrides:
      writeXML in class ReportLine
      Throws:
      IOException
    • createColumnWrap

      public static ColumnWrap createColumnWrap(Node node, int version) throws Exception
      For internal use only.
      Throws:
      Exception
    • readXML

      public void readXML(Node node, int version) throws Exception
      For internal use only.
      Overrides:
      readXML in class ReportLine
      Throws:
      Exception
    • createColumnWrap

      public static ColumnWrap createColumnWrap(DataInput in, int version) throws Exception
      For internal use only.
      Throws:
      Exception
    • read

      public void read(DataInput in, int version) throws Exception
      For internal use only.
      Overrides:
      read in class ReportLine
      Throws:
      Exception