Class ReportLine
java.lang.Object
quadbase.reportdesigner.ReportElements.ReportElement
quadbase.reportdesigner.ReportElements.ReportCell
quadbase.reportdesigner.ReportElements.ReportImage
quadbase.reportdesigner.ReportElements.ReportLine
- All Implemented Interfaces:
Serializable,quadbase.common.util.internal.IReportImage
- Direct Known Subclasses:
ColumnWrap
This class can be used to insert lines anywhere in the Report--in the ReportSection, or
ReportTable.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intprotected booleanConstructs a ReportLine with no labelstatic final intstatic final StringFields inherited from class quadbase.reportdesigner.ReportElements.ReportImage
CENTER, DBImageDir, FIT, TILEFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTemplate(ReportLine _line) voidapplyTemplate(ReportLine _line, boolean applyScript) voidcopy(ReportLine _line) for internal use onlyvoidcopyTemplate(ReportLine _line) static ReportLinecreateLine(DataInput in, int version) For internal use only.static ReportLinecreateLine(Node node, int version) For internal use only.voiddeepCopy(ReportLine _line) intgetBorder(quadbase.reportdesigner.ReportElements.BorderSide borderSide) intGet the border thickness of this element.intbooleanbooleanbooleanbooleanGets the status of the display of this ReportElement.next()previous()voidFor internal use only.voidFor internal use only.voidresize(double xratio, double yratio) Resizes this ReportElement.voidsetBgColor(Color c) Set the background color of this element.voidsetBorder(int pixels) Deprecated.voidSet the border color of this elementvoidsetBorderThickness(int pixels) set border thicknessvoidsetHeight(double h) for internal use onlyvoidsetLineStyle(int style) voidsetLocked(boolean b) internal use onlyvoidsetMatchColumnWidths(boolean b) voidsetNext(ReportLine line) voidsetNextLine(ReportLine _line) voidsetPrevious(ReportLine line) voidsetPreviousID(String id) voidsetVertical(boolean b) voidsetWidth(double w) INCH Set the width of this elementvoidsetX(double x) INCHES Set the X-coordinate value of the upper left corner of this elementvoidwrite(DataOutput out) for internal use onlyvoidfor internal use onlyMethods 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, writeImageDataMethods inherited from class quadbase.reportdesigner.ReportElements.ReportCell
applyStyle, applyStyleButNotWH, applyStyleButNotWHCopyScripts, 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, setScriptedValueMethods inherited from class quadbase.reportdesigner.ReportElements.ReportElement
addSecurityLevel, applyImageTemplate, applyImageTemplateExceptBound, applySecurity, applyStyle, applyStyleButNotWH, applyTemplate, applyTemplate, applyTemplate, contains, contains, containsX, containsY, copy, copyStyleWithScriptsButNotWH, 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, 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
-
Field Details
-
isVertical
protected boolean isVerticalConstructs a ReportLine with no label -
SOLID
public static final int SOLID- See Also:
-
DOUBLE
public static final int DOUBLE- See Also:
-
DASH
public static final int DASH- See Also:
-
XMLTAG
- See Also:
-
-
Constructor Details
-
ReportLine
public ReportLine(boolean isVertical) -
ReportLine
public ReportLine()for internal use only
-
-
Method Details
-
next
-
previous
-
setNext
-
setPrevious
-
setNextLine
-
getPreviousID
-
setPreviousID
-
isCrossSection
public boolean isCrossSection() -
getBorderThickness
public int getBorderThickness()Description copied from class:ReportElementGet the border thickness of this element. DEPRECATED: please use getTopBorderThickness(), getRightBorderThickness(), getBottomBorderThickness() and getLeftBorderThickness() methods instead.- Overrides:
getBorderThicknessin classReportElement- Returns:
- border thickness of this element
-
getBorder
public int getBorder(quadbase.reportdesigner.ReportElements.BorderSide borderSide) - Overrides:
getBorderin classReportElement
-
setBorderThickness
public void setBorderThickness(int pixels) set border thickness- Overrides:
setBorderThicknessin classReportElement
-
setBorder
Deprecated.- Overrides:
setBorderin classReportElement
-
setX
public void setX(double x) Description copied from class:ReportElementINCHES Set the X-coordinate value of the upper left corner of this element- Overrides:
setXin classReportElement- Parameters:
x- x-coordinate value of the upper left corner of this element
-
setWidth
public void setWidth(double w) Description copied from class:ReportElementINCH Set the width of this element- Overrides:
setWidthin classReportElement- Parameters:
w- width of this element
-
setHeight
public void setHeight(double h) for internal use only- Overrides:
setHeightin classReportElement- Parameters:
h- height of this element
-
resize
public void resize(double xratio, double yratio) Description copied from class:ReportElementResizes this ReportElement. *- Overrides:
resizein classReportElement
-
setBgColor
Description copied from class:ReportElementSet the background color of this element.- Overrides:
setBgColorin classReportElement- Parameters:
c- the new background Color
-
setBorderColor
Description copied from class:ReportElementSet the border color of this element- Overrides:
setBorderColorin classReportElement- Parameters:
c- new border color of this element
-
setLocked
public void setLocked(boolean b) Description copied from class:ReportElementinternal use only Sets whether the ReportElement position should be locked. If this element is snap to guideline, then it cann't be locked.- Overrides:
setLockedin classReportElement
-
isVisible
public boolean isVisible()Description copied from class:ReportElementGets the status of the display of this ReportElement.- Overrides:
isVisiblein classReportElement
-
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
for internal use only- Overrides:
writein classReportImage- Throws:
IOException
-
writeXML
for internal use only- Overrides:
writeXMLin classReportImage- Throws:
IOException
-
createLine
For internal use only.- Throws:
Exception
-
readXML
For internal use only.- Overrides:
readXMLin classReportImage- Throws:
Exception
-
copy
for internal use only -
deepCopy
-
applyTemplate
-
applyTemplate
-
copyTemplate
-
createLine
For internal use only.- Throws:
Exception
-
read
For internal use only.- Overrides:
readin classReportImage- Throws:
Exception
-