Class ReportLine

All Implemented Interfaces:
Serializable, quadbase.common.util.internal.IReportImage
Direct Known Subclasses:
ColumnWrap

public class ReportLine extends ReportImage implements Serializable
This class can be used to insert lines anywhere in the Report--in the ReportSection, or ReportTable.
See Also:
  • Field Details

  • Constructor Details

    • ReportLine

      public ReportLine(boolean isVertical)
    • ReportLine

      public ReportLine()
      for internal use only
  • Method Details

    • next

      public ReportLine next()
    • previous

      public ReportLine previous()
    • setNext

      public void setNext(ReportLine line)
    • setPrevious

      public void setPrevious(ReportLine line)
    • setNextLine

      public void setNextLine(ReportLine _line)
    • getPreviousID

      public String getPreviousID()
    • setPreviousID

      public void setPreviousID(String id)
    • isCrossSection

      public boolean isCrossSection()
    • getBorderThickness

      public int getBorderThickness()
      Description copied from class: ReportElement
      Get the border thickness of this element. DEPRECATED: please use getTopBorderThickness(), getRightBorderThickness(), getBottomBorderThickness() and getLeftBorderThickness() methods instead.
      Overrides:
      getBorderThickness in class ReportElement
      Returns:
      border thickness of this element
    • getBorder

      public int getBorder(quadbase.reportdesigner.ReportElements.BorderSide borderSide)
      Overrides:
      getBorder in class ReportElement
    • setBorderThickness

      public void setBorderThickness(int pixels)
      set border thickness
      Overrides:
      setBorderThickness in class ReportElement
    • setBorder

      @Deprecated public void setBorder(int pixels)
      Deprecated.
      Overrides:
      setBorder in class ReportElement
    • setX

      public void setX(double x)
      Description copied from class: ReportElement
      INCHES Set the X-coordinate value of the upper left corner of this element
      Overrides:
      setX in class ReportElement
      Parameters:
      x - x-coordinate value of the upper left corner of this element
    • setWidth

      public void setWidth(double w)
      Description copied from class: ReportElement
      INCH Set the width of this element
      Overrides:
      setWidth in class ReportElement
      Parameters:
      w - width of this element
    • setHeight

      public void setHeight(double h)
      for internal use only
      Overrides:
      setHeight in class ReportElement
      Parameters:
      h - height of this element
    • resize

      public void resize(double xratio, double yratio)
      Description copied from class: ReportElement
      Resizes this ReportElement. *
      Overrides:
      resize in class ReportElement
    • setBgColor

      public void setBgColor(Color c)
      Description copied from class: ReportElement
      Set the background color of this element.
      Overrides:
      setBgColor in class ReportElement
      Parameters:
      c - the new background Color
    • setBorderColor

      public void setBorderColor(Color c)
      Description copied from class: ReportElement
      Set the border color of this element
      Overrides:
      setBorderColor in class ReportElement
      Parameters:
      c - new border color of this element
    • setLocked

      public void setLocked(boolean b)
      Description copied from class: ReportElement
      internal use only

      Sets whether the ReportElement position should be locked. If this element is snap to guideline, then it cann't be locked.

      Overrides:
      setLocked in class ReportElement
    • isVisible

      public boolean isVisible()
      Description copied from class: ReportElement
      Gets the status of the display of this ReportElement.
      Overrides:
      isVisible in class ReportElement
    • getHeadNode

      public ReportLine getHeadNode()
    • isVertical

      public boolean isVertical()
    • setVertical

      public void setVertical(boolean b)
    • getLineStyle

      public int getLineStyle()
    • setLineStyle

      public void setLineStyle(int style)
    • isMatchColumnWidths

      public boolean isMatchColumnWidths()
    • setMatchColumnWidths

      public void setMatchColumnWidths(boolean b)
    • write

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

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

      public static ReportLine createLine(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 ReportImage
      Throws:
      Exception
    • copy

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

      public void deepCopy(ReportLine _line)
    • applyTemplate

      public void applyTemplate(ReportLine _line)
    • applyTemplate

      public void applyTemplate(ReportLine _line, boolean applyScript)
    • copyTemplate

      public void copyTemplate(ReportLine _line)
    • createLine

      public static ReportLine createLine(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 ReportImage
      Throws:
      Exception