Class ReportGrid
java.lang.Object
quadbase.reportdesigner.ReportElements.ReportElement
quadbase.reportdesigner.ReportElements.ReportCell
quadbase.reportdesigner.ReportElements.ReportImage
quadbase.reportdesigner.ReportElements.ReportGrid
- All Implemented Interfaces:
Serializable,quadbase.common.util.internal.IReportImage
This class can be used to insert grid anywhere in the Report--in the ReportSection, or
ReportTable.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic 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(ReportGrid _grid) voidapplyTemplate(ReportGrid _grid, boolean applyScript) voidcopy(ReportGrid _grid) for internal use onlyvoidcopyTemplate(ReportGrid _grid) static ReportGridcreateGrid(DataInput in, int version) For internal use only.static ReportGridcreateGrid(Node node, int version) For internal use only.voiddeepCopy(ReportGrid _grid) for internal use onlyintgetBorder(quadbase.reportdesigner.ReportElements.BorderSide borderSide) intgetNext()getPrev()booleanbooleanPOINTS This is for export to PDF format 1 inch = 72 pointsnext()previous()voidFor internal use only.voidFor internal use only.voidsetBgColor(Color c) public void setHeight(double h) { this.height = h; }voidsetBorder(int b) Deprecated.voidSet the border color of this elementvoidsetBorderThickness(int b) Set the border thickness of this elementvoidsetBorderThickness(int borderThickness, quadbase.reportdesigner.ReportElements.BorderSide borderSide) voidsetGridStyle(int style) voidsetLocked(boolean b) internal use onlyvoidsetMatchColumnWidths(boolean b) voidvoidsetNextGrid(ReportGrid _grid) voidvoidsetRoundCornerRadius(int radius) voidsetRoundCornersArray(boolean[] roundCornersArray) voidsetSnap(short snap) for internal use only.voidsetVSnap(short vsnap) for internal use only.voidsetWidth(double width) 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 only.voidFor 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, 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, getBorderThickness, 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, isVisible, moveForCrossTabFixedField, moveForCrossTabFixedField, newArrayX, newArrayY, removeScriptReferenced, removeSecurityLevel, renameSecurityLevel, resize, resizeForCrossTabFixedField, resizeForCrossTabFixedField, scriptReferenced, securityScriptReferenced, setAlign, setBookmark, setBorderThickness, setBorderThickness, setBottomBorder, setCustomID, setDrawAgain, setDrawX, setDrawX, setDrawY, setDrawY, setDrillDownName, setFont, setFontColor, setHeight, setHeight, setHint, setID, setID, setInchGridSpace, setLeftBorder, setLink, setMinHeight, setMinWidth, setNoWrap, setResizeToFitContent, setRightBorder, setRotateAngle, setRotateAngle, setScript, setScriptName, setScriptObj, setScriptObjNull, setSecurityLevelProperties, setSecurityMap, setSecurityTextScript, setShiftSecuredColX, setShiftSecuredColXIncludeHeaderAndFooter, setSnapToGrid, setSnapToGrid, setStyleName, setTarget, setText, setTopBorder, setUnderline, setVAlign, setVisible, setWidth, setX, setXX, setXX, setY, setY, setYY, setYY, setZ, shift, shiftObjectsOnMove, shiftOnMove, sortElement, sortElement, sortElementHorizontally, sortElementInXYOrder, sortElementVertically, swapElements, switchSecurityProperties
-
Field Details
-
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
-
ReportGrid
public ReportGrid()Constructs a ReportGrid with no label
-
-
Method Details
-
next
-
previous
-
setNext
-
setPrevious
-
getPrev
-
getNext
-
setNextGrid
-
getPreviousID
-
isCrossSection
public boolean isCrossSection() -
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 width) Description copied from class:ReportElementINCH Set the width of this element- Overrides:
setWidthin classReportElement- Parameters:
width- width of this element
-
setBgColor
public void setHeight(double h) { this.height = h; }- 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
-
setBorderThickness
public void setBorderThickness(int b) Description copied from class:ReportElementSet the border thickness of this element- Overrides:
setBorderThicknessin classReportElement
-
setBorderThickness
public void setBorderThickness(int borderThickness, quadbase.reportdesigner.ReportElements.BorderSide borderSide) - Overrides:
setBorderThicknessin classReportElement
-
getBorder
public int getBorder(quadbase.reportdesigner.ReportElements.BorderSide borderSide) - Overrides:
getBorderin classReportElement
-
setRoundCornerRadius
public void setRoundCornerRadius(int radius) - Overrides:
setRoundCornerRadiusin classReportElement- Parameters:
radius- the roundCornerRadius to set
-
setRoundCornersArray
public void setRoundCornersArray(boolean[] roundCornersArray) - Overrides:
setRoundCornersArrayin classReportElement- Parameters:
roundCornersArray- the roundCorners to set
-
setBorder
Deprecated.- Overrides:
setBorderin classReportElement
-
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
-
getHeadNode
-
getGridStyle
public int getGridStyle() -
setGridStyle
public void setGridStyle(int style) -
setSnap
public void setSnap(short snap) for internal use only.- Overrides:
setSnapin classReportElement
-
setVSnap
public void setVSnap(short vsnap) for internal use only.- Overrides:
setVSnapin classReportElement
-
isMatchColumnWidths
public boolean isMatchColumnWidths()POINTS This is for export to PDF format 1 inch = 72 points -
setMatchColumnWidths
public void setMatchColumnWidths(boolean b) -
copy
for internal use only -
deepCopy
for internal use only -
applyTemplate
-
applyTemplate
-
copyTemplate
-
write
For internal use only.- Overrides:
writein classReportImage- Throws:
IOException
-
writeXML
For internal use only.- Overrides:
writeXMLin classReportImage- Throws:
IOException
-
createGrid
For internal use only.- Throws:
Exception
-
readXML
For internal use only.- Overrides:
readXMLin classReportImage- Throws:
Exception
-
createGrid
For internal use only.- Throws:
Exception
-
read
For internal use only.- Overrides:
readin classReportImage- Throws:
Exception
-