public class ReportGrid extends ReportImage
Modifier and Type | Field and Description |
---|---|
static int |
DASH |
static int |
DOUBLE |
static int |
SOLID |
static java.lang.String |
XMLTAG |
CENTER, DBImageDir, FIT, TILE
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 and Description |
---|
ReportGrid()
Constructs a ReportGrid with no label
|
Modifier and Type | Method and Description |
---|---|
void |
applyTemplate(ReportGrid _grid) |
void |
applyTemplate(ReportGrid _grid,
boolean applyScript) |
void |
copy(ReportGrid _grid)
for internal use only
|
void |
copyTemplate(ReportGrid _grid) |
static ReportGrid |
createGrid(java.io.DataInput in,
int version)
For internal use only.
|
static ReportGrid |
createGrid(org.w3c.dom.Node node,
int version)
For internal use only.
|
void |
deepCopy(ReportGrid _grid)
for internal use only
|
int |
getBorder(quadbase.reportdesigner.ReportElements.BorderSide borderSide) |
int |
getGridStyle() |
ReportGrid |
getHeadNode() |
ReportGrid |
getNext() |
ReportGrid |
getPrev() |
java.lang.String |
getPreviousID() |
boolean |
isCrossSection() |
boolean |
isMatchColumnWidths()
POINTS This is for export to PDF format 1 inch = 72 points
|
ReportGrid |
next() |
ReportGrid |
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 |
setBgColor(java.awt.Color c)
public void setHeight(double h) { this.height = h; }
|
void |
setBorder(int b)
Deprecated.
|
void |
setBorderColor(java.awt.Color c)
Set the border color of this element
|
void |
setBorderThickness(int b)
Set the border thickness of this element
|
void |
setBorderThickness(int borderThickness,
quadbase.reportdesigner.ReportElements.BorderSide borderSide) |
void |
setGridStyle(int style) |
void |
setLocked(boolean b)
internal use only
Sets whether the ReportElement position should be locked.
|
void |
setMatchColumnWidths(boolean b) |
void |
setNext(ReportGrid n) |
void |
setNextGrid(ReportGrid _grid) |
void |
setPrevious(ReportGrid p) |
void |
setRoundCornerRadius(int radius) |
void |
setRoundCornersArray(boolean[] roundCornersArray) |
void |
setSnap(short snap)
for internal use only.
|
void |
setVSnap(short vsnap)
for internal use only.
|
void |
setWidth(double width)
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.
|
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
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, setScriptedValue
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
public static final int SOLID
public static final int DOUBLE
public static final int DASH
public static final java.lang.String XMLTAG
public ReportGrid next()
public ReportGrid previous()
public void setNext(ReportGrid n)
public void setPrevious(ReportGrid p)
public ReportGrid getPrev()
public ReportGrid getNext()
public void setNextGrid(ReportGrid _grid)
public java.lang.String getPreviousID()
public boolean isCrossSection()
public void setX(double x)
ReportElement
setX
in class ReportElement
x
- x-coordinate value of the upper left corner of this elementpublic void setWidth(double width)
ReportElement
setWidth
in class ReportElement
width
- width of this elementpublic void setBgColor(java.awt.Color c)
setBgColor
in class ReportElement
c
- the new background Colorpublic void setBorderColor(java.awt.Color c)
ReportElement
setBorderColor
in class ReportElement
c
- new border color of this elementpublic void setBorderThickness(int b)
ReportElement
setBorderThickness
in class ReportElement
public void setBorderThickness(int borderThickness, quadbase.reportdesigner.ReportElements.BorderSide borderSide)
setBorderThickness
in class ReportElement
public int getBorder(quadbase.reportdesigner.ReportElements.BorderSide borderSide)
getBorder
in class ReportElement
public void setRoundCornerRadius(int radius)
setRoundCornerRadius
in class ReportElement
radius
- the roundCornerRadius to setpublic void setRoundCornersArray(boolean[] roundCornersArray)
setRoundCornersArray
in class ReportElement
roundCornersArray
- the roundCorners to set@Deprecated public void setBorder(int b)
setBorder
in class ReportElement
public void setLocked(boolean b)
ReportElement
setLocked
in class ReportElement
public ReportGrid getHeadNode()
public int getGridStyle()
public void setGridStyle(int style)
public void setSnap(short snap)
setSnap
in class ReportElement
public void setVSnap(short vsnap)
setVSnap
in class ReportElement
public boolean isMatchColumnWidths()
public void setMatchColumnWidths(boolean b)
public void copy(ReportGrid _grid)
public void deepCopy(ReportGrid _grid)
public void applyTemplate(ReportGrid _grid)
public void applyTemplate(ReportGrid _grid, boolean applyScript)
public void copyTemplate(ReportGrid _grid)
public void write(java.io.DataOutput out) throws java.io.IOException
write
in class ReportImage
java.io.IOException
public void writeXML(java.io.Writer out, boolean writeElementTag) throws java.io.IOException
writeXML
in class ReportImage
java.io.IOException
public static ReportGrid createGrid(org.w3c.dom.Node node, int version) throws java.lang.Exception
java.lang.Exception
public void readXML(org.w3c.dom.Node node, int version) throws java.lang.Exception
readXML
in class ReportImage
java.lang.Exception
public static ReportGrid createGrid(java.io.DataInput in, int version) throws java.lang.Exception
java.lang.Exception
public void read(java.io.DataInput in, int version) throws java.lang.Exception
read
in class ReportImage
java.lang.Exception