EspressReport 6.6

quadbase.reportdesigner.ReportElements
Class ReportLine

java.lang.Object
  extended by quadbase.reportdesigner.ReportElements.ReportElement
      extended by quadbase.reportdesigner.ReportElements.ReportCell
          extended by quadbase.reportdesigner.ReportElements.ReportImage
              extended by quadbase.reportdesigner.ReportElements.ReportLine
All Implemented Interfaces:
java.io.Serializable, quadbase.common.util.internal.IReportImage
Direct Known Subclasses:
ColumnWrap

public class ReportLine
extends ReportImage
implements java.io.Serializable

This class can be used to insert lines anywhere in the Report--in the ReportSection, or ReportTable.

See Also:
Serialized Form

Field Summary
static int DASH
           
static int DOUBLE
           
protected  boolean isVertical
          Constructs a ReportLine with no label
static int SOLID
           
static java.lang.String XMLTAG
           
 
Fields inherited from class quadbase.reportdesigner.ReportElements.ReportImage
CENTER, DBImageDir, FIT, TILE
 
Fields inherited from class quadbase.reportdesigner.ReportElements.ReportElement
bgColor, borderColor, CHART, COLUMN, COLUMNHEADER, FORMULA, GRID, height, ID_TYPE, IMAGE, isLocked, LABEL, LINE, min_height, min_width, NONE, rotate_angle, ROTATE_CLOCKWISE, ROTATE_COUNTERCLOCKWISE, ROTATE_NONE, roundCornerRadius, roundCornersArray, RTFOBJECT, SECTION, securityMap, snap, SORT_X, SORT_Y, SORT_Z, SUBREPORT, TABLE, TABLEOFCONTENTS, TITLE, visible, vsnap, width, x
 
Constructor Summary
ReportLine()
          for internal use only
ReportLine(boolean isVertical)
           
 
Method Summary
 void applyTemplate(ReportLine _line)
           
 void applyTemplate(ReportLine _line, boolean applyScript)
           
 void copy(ReportLine _line)
          for internal use only
 void copyTemplate(ReportLine _line)
           
static ReportLine createLine(java.io.DataInput in, int version)
          For internal use only.
static ReportLine createLine(org.w3c.dom.Node node, int version)
          For internal use only.
 void deepCopy(ReportLine _line)
           
 int getBorder(quadbase.reportdesigner.ReportElements.BorderSide borderSide)
           
 int getBorderThickness()
          Get the border thickness of this element.
 ReportLine getHeadNode()
           
 int getLineStyle()
           
 java.lang.String getPreviousID()
           
 boolean isCrossSection()
           
 boolean isMatchColumnWidths()
           
 boolean isVertical()
           
 boolean isVisible()
          Gets the status of the display of this ReportElement.
 ReportLine next()
           
 ReportLine previous()
           
 void read(java.io.DataInput in, int version)
          For internal use only.
 void readXML(org.w3c.dom.Node node, int version)
          For internal use only.
 void resize(double xratio, double yratio)
          Resizes this ReportElement.
 void setBgColor(java.awt.Color c)
          Set the background color of this element.
 void setBorder(int pixels)
          Deprecated. 
 void setBorderColor(java.awt.Color c)
          Set the border color of this element
 void setBorderThickness(int pixels)
          set border thickness
 void setHeight(double h)
          for internal use only
 void setLineStyle(int style)
           
 void setLocked(boolean b)
          internal use only

Sets whether the ReportElement position should be locked.

 void setMatchColumnWidths(boolean b)
           
 void setNext(ReportLine line)
           
 void setNextLine(ReportLine _line)
           
 void setPrevious(ReportLine line)
           
 void setPreviousID(java.lang.String id)
           
 void setVertical(boolean b)
           
 void setWidth(double w)
          INCH Set the width of this element
 void setX(double x)
          INCHES Set the X-coordinate value of the upper left corner of this element
 void write(java.io.DataOutput out)
          for internal use only
 void writeXML(java.io.Writer out, boolean writeElementTag)
          for internal use only
 
Methods inherited from class quadbase.reportdesigner.ReportElements.ReportImage
applyTemplate, applyTemplate, copy, copyTemplate, createImage, createImage, createImage, createReportImage, deepCopy, equals, getBytes, getFlashFrameCount, getFlashFrameRate, getImageOption, getImagePath, getImageType, getImageURL, getJPEGQuality, getPdfImageType, getPNGCompression, getRelativePath, getSavedFileLocation, getSavedFileURL, isDBImage, isGIFTransparent, read, setBytes, setBytes, setDBImage, setFlashFrameCount, setFlashFrameRate, setGIFTransparent, setHTMLParameters, setImageOption, setImagePath, setImagePath, setImageType, setImageURL, setImageURL, setJPEGQuality, setPdfImageType, setPNGCompression, setRelativePath, toString, write, writeImageData
 
Methods inherited from class quadbase.reportdesigner.ReportElements.ReportCell
applyStyle, applyStyleButNotWH, applyTemplate, applyTemplate, clone, copy, copyTemplate, createCell, createCell, createFormulaObject, createFormulaObjectFromName, createFormulaObjectFromText, deepCopy, equals, formulaReferenced, getColIndex, getColumn, getDataFormat, getEntry, getFormula, getFormulaName, getFormulaObj, getScriptedValue, getSQLType, setColumn, setDataFormat, setEntry, setFormula, setFormulaObj, setScriptedValue
 
Methods inherited from class quadbase.reportdesigner.ReportElements.ReportElement
addSecurityLevel, applyImageTemplate, applyImageTemplateExceptBound, applySecurity, applyStyle, applyStyleButNotWH, applyTemplate, applyTemplate, applyTemplate, contains, contains, containsX, containsY, copy, copyTemplate, createScriptObject, createScriptObjectFromName, deepCopy, doesElementSupportRoundCorners, equals, findElementsAbove, findElementsBelow, findElementsToLeft, findElementsToRight, findElementsToRight, findElementType, findGroupElementType, findMaxXr, findMaxYd, findMinX, findMinY, findSpecificElements, getAlign, getAllColors, getBgColor, getBookmark, getBorderColor, getBottomBorder, getCustomID, getDrawX, getDrawX, getDrawY, getDrawY, getDrillDownName, getElementType, getElementTypeName, getFirst2RowOfColumns, getFirst2RowOfColumns, getFont, getFontColor, getHeight, getHeight, getHeightOfElement, getHeightOfElement, getHeightToPoints, getHint, getID, getLeftBorder, getLink, getMaxXr, getMin_Height, getMin_Width, getMinX, getRefFont, getRefFontToDraw, getRightBorder, getRotateAngle, getRoundCornerRadius, getRoundCornersArray, getScript, getScriptName, getScriptObj, getSecuredScripts, getSecurityLevel, getSecurityLevels, getSecurityMap, getSnap, getStyleName, getTarget, getText, getTopBorder, getVAlign, getVSnap, getWidth, getWidth, getWidthOfElement, getWidthOfElement, getWidthToPoints, getX, getX, getXPos, getXPos, getXToPoints, getY, getY, getYPos, getYPos, getYToPoints, getZ, hasBorder, inBottomHalf, inLeftEnd, inLeftHalf, inRightEnd, inRightHalf, inTopHalf, isCrossTabElt, isDrawAgain, isLocked, isNoWrap, isResizeToFitContent, isSecurityLevelDefined, isSecurityTextScript, isShiftSecuredColX, isShiftSecuredColXIncludeHeaderAndFooter, isSnapToGrid, isUnderline, moveForCrossTabFixedField, moveForCrossTabFixedField, newArrayX, newArrayY, removeScriptReferenced, removeSecurityLevel, renameSecurityLevel, resizeForCrossTabFixedField, resizeForCrossTabFixedField, scriptReferenced, securityScriptReferenced, setAlign, setBookmark, setBorderThickness, setBorderThickness, setBottomBorder, setCustomID, setDrawAgain, setDrawX, setDrawX, setDrawY, setDrawY, setDrillDownName, setFont, setFontColor, setHeight, setHint, setID, setID, setInchGridSpace, setLeftBorder, setLink, setMinHeight, setMinWidth, setNoWrap, setResizeToFitContent, setRightBorder, setRotateAngle, setRotateAngle, setRoundCornerRadius, setRoundCornersArray, setScript, setScriptName, setScriptObj, setScriptObjNull, setSecurityLevelProperties, setSecurityMap, setSecurityTextScript, setShiftSecuredColX, setShiftSecuredColXIncludeHeaderAndFooter, setSnap, setSnapToGrid, setSnapToGrid, setStyleName, setTarget, setText, setTopBorder, setUnderline, setVAlign, setVisible, setVSnap, setWidth, setX, setXX, setXX, setY, setY, setYY, setYY, setZ, shift, shiftObjectsOnMove, shiftOnMove, sortElement, sortElement, sortElementHorizontally, sortElementInXYOrder, sortElementVertically, swapElements, switchSecurityProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isVertical

protected boolean isVertical
Constructs a ReportLine with no label


SOLID

public static final int SOLID
See Also:
Constant Field Values

DOUBLE

public static final int DOUBLE
See Also:
Constant Field Values

DASH

public static final int DASH
See Also:
Constant Field Values

XMLTAG

public static final java.lang.String XMLTAG
See Also:
Constant Field Values
Constructor Detail

ReportLine

public ReportLine(boolean isVertical)

ReportLine

public ReportLine()
for internal use only

Method Detail

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 java.lang.String getPreviousID()

setPreviousID

public void setPreviousID(java.lang.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(java.awt.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(java.awt.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(java.io.DataOutput out)
           throws java.io.IOException
for internal use only

Overrides:
write in class ReportImage
Throws:
java.io.IOException

writeXML

public void writeXML(java.io.Writer out,
                     boolean writeElementTag)
              throws java.io.IOException
for internal use only

Overrides:
writeXML in class ReportImage
Throws:
java.io.IOException

createLine

public static ReportLine createLine(org.w3c.dom.Node node,
                                    int version)
                             throws java.lang.Exception
For internal use only.

Throws:
java.lang.Exception

readXML

public void readXML(org.w3c.dom.Node node,
                    int version)
             throws java.lang.Exception
For internal use only.

Overrides:
readXML in class ReportImage
Throws:
java.lang.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(java.io.DataInput in,
                                    int version)
                             throws java.lang.Exception
For internal use only.

Throws:
java.lang.Exception

read

public void read(java.io.DataInput in,
                 int version)
          throws java.lang.Exception
For internal use only.

Overrides:
read in class ReportImage
Throws:
java.lang.Exception

EspressReport 6.6