Class ReportColumn
java.lang.Object
quadbase.reportdesigner.ReportElements.ReportElement
quadbase.reportdesigner.ReportElements.ReportColumn
- All Implemented Interfaces:
Serializable
This class can be used to manipulate properties of the individual columns in the
ReportTable--formula, border, background, font... etc.
- See Also:
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionFor internal use onlyReportColumn(String name, int noOfCol, boolean isTreeReport, Properties treeProp) For internal use onlyReportColumn(String name, String tableName, IFormat dataFormat, int columnDisplaySize, int noOfCol, boolean isTreeReport) For internal use onlyReportColumn(String name, String tableName, IFormat dataFormat, int columnDisplaySize, Hashtable<quadbase.reportdesigner.ReportElements.FormattedRowKey, quadbase.reportdesigner.ReportElements.FormattedCell> formattedCellsTable, int noOfCol, boolean isTreeReport) For internal use onlyReportColumn(String name, IFormat dataFormat, int noOfCol) For internal use onlyReportColumn(ReportColumn _col) For internal use onlyReportColumn(ReportColumn _col, Properties treeProp) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddActualData(Object newData) For internal use onlyvoidFor internal use onlyvoidaddFormattedCell(int row, int[] tree, quadbase.reportdesigner.ReportElements.FormattedCell formattedCell) For internal use onlyvoidaddFormattedCell(int row, Vector<Integer> tree, quadbase.reportdesigner.ReportElements.FormattedCell formattedCell) For internal use onlyvoidaddFormattedCell(quadbase.reportdesigner.ReportElements.FormattedCell formattedCell) For internal use onlyvoidaddFormattedCell(quadbase.reportdesigner.ReportElements.FormattedRowKey key, quadbase.reportdesigner.ReportElements.FormattedCell formattedCell) For internal use onlyvoidaddScriptedData(Object newData) For internal use onlyvoidapplyStyle(ReportColumn _col) Applies the style information (font, font color, underline, horizontal and vertical alignment, wrap, border) from another cell.voidapplyTemplate(ReportColumn _col) voidapplyTemplate(ReportColumn _col, boolean applyScript) voidapplyTemplate(ReportColumn _col, boolean applyScript, boolean applyElementPosition, boolean copyDrillDownName) Specifies the look and feel to be the same as another ReportCell object.voidcleanup()booleancontains(double cx, double cy) For internal use onlybooleancontainsX(double cx, double w) For internal use onlybooleancontainsY(double cy, double h) For internal use onlyvoidcopy(ReportColumn _col) For internal use onlyvoidcopyTemplate(ReportColumn _col) For internal use only.voidcopyTemplate(ReportColumn _col, boolean applyFunction) voidcopyTemplate(ReportColumn _col, boolean applyFunction, boolean applyElementPosition) voidcopyTemplate(ReportColumn _col, boolean applyFunction, boolean applyElementPosition, boolean copyDrillDownName) For internal use only.voidFor internal use only.static ReportColumncreateColumn(DataInput in, int version) For internal use only.static ReportColumncreateColumn(Node node, int version) For internal use only.voiddeepCopy(ReportColumn _col) For internal use only.protected voidfinalize()getActualData(int i) Returns the unformatted data used in this ReportColumn If a cell contains a formula or script, getActualData returns the calculated value instead of the the formulaintFor internal use onlygetAllColors(Vector<Color> colors) For internal use onlyintGets the number of rows within sections that would have the same color before alternating to a different color.Gets the background color of the alternating sections.Gets the ICellScript object used by this ReportColumn.Object[]getData()Gets the data object used by this ReportColumn.getData(int index) Gets the data at the specified index.intGets the length of the data object used.Gets the data format of this ReportColumn.quadbase.common.util.internal.IDataSetlongGets the length of the data object used.For internal use onlygetDrillDownData(int row) For internal use onlyintReturns the number of members in the ReportColumn index int array used for setting different colors when the value in any of these columns changes.int[]Returns the ReportColumn index int array used for setting different colors when the value in any of these columns changes.getFont2()Gets the font of the alternating sections.Gets the font color of the alternating sections.getFormatCell(int index) For internal use onlygetFormatCell(int dataindex, int displayindex) For internal use onlygetFormatCell(int dataindex, int displayindex, int tableNumber) For internal use onlygetFormatCell(int dataindex, int displayindex, int tableNumber, boolean designMode) For internal use onlygetFormatData(int index) Gets the formatted data text at the specified index.getFormatData(int index, IFormat format) used when a different format is desired.quadbase.reportdesigner.ReportElements.FormattedCellgetFormattedCell(int index) For internal use onlyquadbase.reportdesigner.ReportElements.FormattedCellgetFormattedCellAtRow(int row) For internal use onlyVector<quadbase.reportdesigner.ReportElements.FormattedCell> For internal use onlyintFor internal use onlyHashtable<quadbase.reportdesigner.ReportElements.FormattedRowKey, quadbase.reportdesigner.ReportElements.FormattedCell> For internal use onlyintFor internal use onlyintFor internal use onlygetFormattedData(int index) For internal use onlybooleangetIsBGColor2(int index) For internal use onlyintGets max number of character for record in column when using record file to generate the reportInternal Use OnlygetScriptedData(int i) For internal use onlyquadbase.common.util.internal.DataSetgetScriptedData(ReportTable table, quadbase.reportdesigner.report.Report report, int col) For internal use onlygetScriptedData(ReportTable table, quadbase.reportdesigner.report.Report report, int col, int row) For internal use onlyintReturns the size of the scripted data.Gets the style name of the alternating sections.booleanhasFormattedCell(int row, Vector<Integer> tree) For internal use onlybooleanhasFormattedCell(int row, Vector<Integer> tree, quadbase.reportdesigner.ReportElements.FormattedCell cell) For internal use onlybooleanhasScriptedData(int i) Returns whether this object contains scripted data at the specified index.booleaninBottomHalf(double cy) For internal use onlybooleaninLeftEnd(double cx) For internal use onlybooleaninLeftHalf(double cx) For internal use onlybooleaninRightEnd(double cx, double w) For internal use onlybooleaninRightHalf(double cx) For internal use onlyvoidinsertScriptedDataAt(Object newData, int index) Inserts data with scripting information at the specified index.booleaninTopHalf(double cy) For internal use onlybooleanReturns true if this object does not use a data object.booleanReturns whether color is changed from section to sectionbooleanCheck the status of underline text of the alternate sections.booleanisValid()voidpositionCopy(ReportColumn _col) For internal use only.voidFor internal use only.voidFor internal use only.voidrecalculateFormulaColumnValue(quadbase.reportdesigner.report.Report report, int i, ReportTable table) For internal use onlyvoidvoidFor internal use onlyvoidremoveFormattedCell(int row, Vector<Integer> tree, quadbase.reportdesigner.ReportElements.FormattedCell formattedCell) For internal use onlyvoidreplaceData(Object obj, int index) For internal use onlyvoidFor internal use onlybooleanscriptReferenced(Script script) For internal use onlyvoidsetAlternateRow(int altRow) Sets the number of rows within sections that would have the same color before alternating to a different color.voidsetBgColor2(Color newColorBg) Sets the background color of the alternating sections.voidsetCellScript(ICellScript script) Sets the ICellScript object used by this ReportColumn.voidFor internal use onlyvoidsetDataFormat(IFormat format) Sets the data format of this ReportColumn.voidsetDataSet(quadbase.common.util.internal.IDataSet dataSet) For internal use onlyvoidsetDBTableName(String name) For internal use onlyvoidsetDrillDownData(Object data) For internal use onlyvoidsetDualColorColInfoIndex(int[] colInfoIndex) Sets the column indices to use to change color.voidsetDualColorOnRowBreak(boolean state) Returns whether to change color from section to sectionvoidSets the font of the alternating sections.voidsetFontColor2(Color newColorFt) Sets the font color of the alternate sections.voidsetFormattedCell(quadbase.reportdesigner.ReportElements.FormattedCell newCell) For internal use onlyvoidsetFormattedCells(Vector<quadbase.reportdesigner.ReportElements.FormattedCell> formattedCells) For internal use onlyvoidsetFormattedCellsTable(Hashtable<quadbase.reportdesigner.ReportElements.FormattedRowKey, quadbase.reportdesigner.ReportElements.FormattedCell> table) For internal use onlyvoidsetIsBGColor2(int index, boolean bool) For internal use onlyvoidsetMaxCharForRecordFile(int cl) set max number of character for record in column when using record file to generate the reportvoidsetStringFormat(int code) Specifies whether to decode the Strings in this column to be a URL where an image file, or text file is located.voidsetStyleName2(String newStyleName2) Sets the style name of the alternating sections.voidsetTopNData(int[] sortedIndex, boolean isRowBreak, short aggr) For internal use onlyvoidsetUnderline2(boolean underline) set the status of underline text of the alternate sections.int[]sort(boolean isAsc) Returns an index array that shows the order in which the rows would be in if the data were sorted.int[]sort(boolean isAsc, int[] indexArray) Returns an index array that shows the order in which the rows refered to in the indexArray would be in if the data were sorted.int[]sortActualdata(boolean isAsc) Returns an index array that shows the order in which the rows refered to in the indexArray would be in if the actual data were sorted.voidwrite(DataOutput out) For internal use only.voidFor internal use only.Methods inherited from class quadbase.reportdesigner.ReportElements.ReportElement
addSecurityLevel, applyImageTemplate, applyImageTemplateExceptBound, applySecurity, applyStyle, applyStyleButNotWH, applyTemplate, applyTemplate, applyTemplate, contains, copy, copyStyleWithScriptsButNotWH, copyTemplate, createScriptObject, createScriptObjectFromName, deepCopy, doesElementSupportRoundCorners, equals, findElementsAbove, findElementsBelow, findElementsToLeft, findElementsToRight, findElementsToRight, findElementType, findGroupElementType, findMaxXr, findMaxYd, findMinX, findMinY, findSpecificElements, getAlign, getBgColor, getBookmark, getBorder, 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, isCrossTabElt, isDrawAgain, isLocked, isNoWrap, isResizeToFitContent, isSecurityLevelDefined, isSecurityTextScript, isShiftSecuredColX, isShiftSecuredColXIncludeHeaderAndFooter, isSnapToGrid, isUnderline, isVisible, moveForCrossTabFixedField, moveForCrossTabFixedField, newArrayX, newArrayY, removeScriptReferenced, removeSecurityLevel, renameSecurityLevel, resize, resizeForCrossTabFixedField, resizeForCrossTabFixedField, securityScriptReferenced, setAlign, setBgColor, setBookmark, setBorder, setBorderColor, setBorderThickness, setBorderThickness, setBorderThickness, setBorderThickness, setBottomBorder, setCustomID, setDrawAgain, setDrawX, setDrawX, setDrawY, setDrawY, setDrillDownName, setFont, setFontColor, setHeight, setHeight, setHint, setID, setID, setInchGridSpace, setLeftBorder, setLink, setLocked, 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, setWidth, setX, setX, setXX, setXX, setY, setY, setYY, setYY, setZ, shift, shiftObjectsOnMove, shiftOnMove, sortElement, sortElement, sortElementHorizontally, sortElementInXYOrder, sortElementVertically, swapElements, switchSecurityProperties
-
Field Details
-
XMLTAG
For internal use only- See Also:
-
-
Constructor Details
-
ReportColumn
public ReportColumn()For internal use only -
ReportColumn
For internal use only -
ReportColumn
-
ReportColumn
For internal use only -
ReportColumn
For internal use only -
ReportColumn
public ReportColumn(String name, String tableName, IFormat dataFormat, int columnDisplaySize, int noOfCol, boolean isTreeReport) For internal use only -
ReportColumn
public ReportColumn(String name, String tableName, IFormat dataFormat, int columnDisplaySize, Hashtable<quadbase.reportdesigner.ReportElements.FormattedRowKey, quadbase.reportdesigner.ReportElements.FormattedCell> formattedCellsTable, int noOfCol, boolean isTreeReport) For internal use only
-
-
Method Details
-
contains
public boolean contains(double cx, double cy) For internal use only- Overrides:
containsin classReportElement- Returns:
- false otherwise
-
containsX
public boolean containsX(double cx, double w) For internal use only- Overrides:
containsXin classReportElement- Returns:
- true if the x coordinate is contained, false otherwisw
-
containsY
public boolean containsY(double cy, double h) For internal use only- Overrides:
containsYin classReportElement- Returns:
- true if the y coordinate is contained, false otherwisw
-
inTopHalf
public boolean inTopHalf(double cy) For internal use only- Overrides:
inTopHalfin classReportElement
-
inBottomHalf
public boolean inBottomHalf(double cy) For internal use only- Overrides:
inBottomHalfin classReportElement
-
inLeftHalf
public boolean inLeftHalf(double cx) For internal use only- Overrides:
inLeftHalfin classReportElement
-
inRightHalf
public boolean inRightHalf(double cx) For internal use only- Overrides:
inRightHalfin classReportElement
-
inLeftEnd
public boolean inLeftEnd(double cx) For internal use only- Overrides:
inLeftEndin classReportElement
-
inRightEnd
public boolean inRightEnd(double cx, double w) For internal use only- Overrides:
inRightEndin classReportElement
-
copy
For internal use only -
copyTemplate
For internal use only. -
copyTemplate
-
copyTemplate
-
copyTemplate
public void copyTemplate(ReportColumn _col, boolean applyFunction, boolean applyElementPosition, boolean copyDrillDownName) For internal use only. -
copyTemplateExceptOrigin
For internal use only. -
deepCopy
For internal use only. -
positionCopy
For internal use only. For resize to fit content -
applyTemplate
-
applyTemplate
-
applyTemplate
public void applyTemplate(ReportColumn _col, boolean applyScript, boolean applyElementPosition, boolean copyDrillDownName) Specifies the look and feel to be the same as another ReportCell object.- Parameters:
applyScript- Specifies whether or not to copy scripts applied the object_cell- the object to be emulated
-
getMaxCharForRecordFile
public int getMaxCharForRecordFile()Gets max number of character for record in column when using record file to generate the report -
setMaxCharForRecordFile
set max number of character for record in column when using record file to generate the report- Throws:
Exception
-
setDBTableName
For internal use only -
getDBTableName
For internal use only -
getAllColors
For internal use only- Overrides:
getAllColorsin classReportElement
-
setAlternateRow
public void setAlternateRow(int altRow) Sets the number of rows within sections that would have the same color before alternating to a different color. -
getAlternateRow
public int getAlternateRow()Gets the number of rows within sections that would have the same color before alternating to a different color. -
setDualColorOnRowBreak
public void setDualColorOnRowBreak(boolean state) Returns whether to change color from section to section -
isDualColorOnRowBreak
public boolean isDualColorOnRowBreak()Returns whether color is changed from section to section -
setDualColorColInfoIndex
public void setDualColorColInfoIndex(int[] colInfoIndex) Sets the column indices to use to change color. When value in any of the specified columns change, the color changes. -
getDualColorColInfoIndex
public int[] getDualColorColInfoIndex()Returns the ReportColumn index int array used for setting different colors when the value in any of these columns changes. -
getDualColorColInfoCount
public int getDualColorColInfoCount()Returns the number of members in the ReportColumn index int array used for setting different colors when the value in any of these columns changes. -
setIsBGColor2
public void setIsBGColor2(int index, boolean bool) For internal use only -
getIsBGColor2
public boolean getIsBGColor2(int index) For internal use only -
getStyleName2
Gets the style name of the alternating sections. Use getStyleName method to get the other style name. -
setStyleName2
Sets the style name of the alternating sections. Use setStyleName method to set the other style name. -
getBgColor2
Gets the background color of the alternating sections. Use getBgColor method to get the other background color. -
setBgColor2
Sets the background color of the alternating sections. Use setBgColor method to set the other background color. -
getFontColor2
Gets the font color of the alternating sections. Use getFontColor method to get the other font color. -
setFontColor2
Sets the font color of the alternate sections. Use setFontColor method to set the other font color. -
isUnderline2
public boolean isUnderline2()Check the status of underline text of the alternate sections.- Returns:
- the status of underline text of the alternate sections.
-
setUnderline2
public void setUnderline2(boolean underline) set the status of underline text of the alternate sections.- Parameters:
underline- the new status of underline text of the alternate sections
-
getFont2
Gets the font of the alternating sections. Use getFont method to get the other font. -
getRefFont2
Internal Use Only -
setFont2
Sets the font of the alternating sections. Use setFont method to set the other font. -
getDataFormat
Gets the data format of this ReportColumn. -
setDataFormat
Sets the data format of this ReportColumn. -
getCellScript
Gets the ICellScript object used by this ReportColumn. -
setCellScript
Sets the ICellScript object used by this ReportColumn. -
getFormattedCells
For internal use only -
setFormattedCells
public void setFormattedCells(Vector<quadbase.reportdesigner.ReportElements.FormattedCell> formattedCells) For internal use only -
getFormattedCellsCount
public int getFormattedCellsCount()For internal use only -
getFormattedCellsTable
public Hashtable<quadbase.reportdesigner.ReportElements.FormattedRowKey,quadbase.reportdesigner.ReportElements.FormattedCell> getFormattedCellsTable()For internal use only -
setFormattedCellsTable
public void setFormattedCellsTable(Hashtable<quadbase.reportdesigner.ReportElements.FormattedRowKey, quadbase.reportdesigner.ReportElements.FormattedCell> table) For internal use only -
getFormattedCellsTableCount
public int getFormattedCellsTableCount()For internal use only -
getFormattedData
For internal use only -
getFormattedCell
public quadbase.reportdesigner.ReportElements.FormattedCell getFormattedCell(int index) For internal use only -
getFormattedCellAtRow
public quadbase.reportdesigner.ReportElements.FormattedCell getFormattedCellAtRow(int row) For internal use only -
addFormattedCell
public void addFormattedCell(quadbase.reportdesigner.ReportElements.FormattedCell formattedCell) For internal use only -
setFormattedCell
public void setFormattedCell(quadbase.reportdesigner.ReportElements.FormattedCell newCell) For internal use only -
addFormattedCell
public void addFormattedCell(int row, Vector<Integer> tree, quadbase.reportdesigner.ReportElements.FormattedCell formattedCell) For internal use only -
addFormattedCell
public void addFormattedCell(int row, int[] tree, quadbase.reportdesigner.ReportElements.FormattedCell formattedCell) For internal use only -
addFormattedCell
public void addFormattedCell(quadbase.reportdesigner.ReportElements.FormattedRowKey key, quadbase.reportdesigner.ReportElements.FormattedCell formattedCell) For internal use only -
removeFormattedCell
public void removeFormattedCell(int row, Vector<Integer> tree, quadbase.reportdesigner.ReportElements.FormattedCell formattedCell) For internal use only -
getFormattedCellsTableSize
public int getFormattedCellsTableSize()For internal use only -
hasFormattedCell
For internal use only -
hasFormattedCell
public boolean hasFormattedCell(int row, Vector<Integer> tree, quadbase.reportdesigner.ReportElements.FormattedCell cell) For internal use only -
isDataEmpty
public boolean isDataEmpty()Returns true if this object does not use a data object. -
getDataCount
public int getDataCount()Gets the length of the data object used. -
getDataSize
public long getDataSize()Gets the length of the data object used. -
getDataSet
public quadbase.common.util.internal.IDataSet getDataSet() -
getData
Gets the data object used by this ReportColumn. This function is used by ReportTable to build the table data. -
getData
Gets the data at the specified index. -
getFormatData
Gets the formatted data text at the specified index.- Returns:
- formatted data, as String
- Throws:
Exception
-
getFormatData
used when a different format is desired.- Throws:
Exception
-
getFormatCell
For internal use only- Throws:
Exception
-
getFormatCell
For internal use only- Throws:
Exception
-
getFormatCell
public ReportElement getFormatCell(int dataindex, int displayindex, int tableNumber) throws Exception For internal use only- Throws:
Exception
-
getFormatCell
public ReportElement getFormatCell(int dataindex, int displayindex, int tableNumber, boolean designMode) throws Exception For internal use only- Throws:
Exception
-
resetData
public void resetData()For internal use only -
setDataSet
public void setDataSet(quadbase.common.util.internal.IDataSet dataSet) For internal use only -
addData
For internal use only -
replaceData
For internal use only -
removeAllData
public void removeAllData()For internal use only -
setData
For internal use only -
addActualData
For internal use only -
isValid
public boolean isValid() -
cleanup
public void cleanup() -
finalize
-
releaseDiskBuffer
public void releaseDiskBuffer() -
getActualData
Returns the unformatted data used in this ReportColumn If a cell contains a formula or script, getActualData returns the calculated value instead of the the formula -
addScriptedData
For internal use only -
insertScriptedDataAt
Inserts data with scripting information at the specified index. -
hasScriptedData
public boolean hasScriptedData(int i) Returns whether this object contains scripted data at the specified index. -
getScriptedData
For internal use only -
getScriptedDataCount
public int getScriptedDataCount()Returns the size of the scripted data. -
getActualDataCount
public int getActualDataCount()For internal use only -
getScriptedData
public quadbase.common.util.internal.DataSet getScriptedData(ReportTable table, quadbase.reportdesigner.report.Report report, int col) For internal use only -
getScriptedData
public Object getScriptedData(ReportTable table, quadbase.reportdesigner.report.Report report, int col, int row) For internal use only -
setDrillDownData
For internal use only -
getDrillDownData
For internal use only -
write
For internal use only.- Overrides:
writein classReportElement- Throws:
IOException
-
writeXML
For internal use only.- Overrides:
writeXMLin classReportElement- Throws:
IOException
-
createColumn
For internal use only.- Throws:
Exception
-
readXML
For internal use only.- Overrides:
readXMLin classReportElement- Throws:
Exception
-
createColumn
For internal use only.- Throws:
Exception
-
read
For internal use only.- Overrides:
readin classReportElement- Throws:
Exception
-
setStringFormat
public void setStringFormat(int code) Specifies whether to decode the Strings in this column to be a URL where an image file, or text file is located. Default is showing the String as is. Use IFormat.IMAGEURL to decode strings as image file locations, and IFormate.TEXTURL to decode strings as text file locations. -
sort
public int[] sort(boolean isAsc) Returns an index array that shows the order in which the rows would be in if the data were sorted. Example indexArray[0] would refer to the row object that is first in the sorting order.- Parameters:
isAsc- whether to sort in ascending or descending order- Returns:
- An index array
-
sort
public int[] sort(boolean isAsc, int[] indexArray) Returns an index array that shows the order in which the rows refered to in the indexArray would be in if the data were sorted. Example indexArray[0] would refer to the row object that is first in the sorting order.- Parameters:
isAsc- whether to sort in ascending or descending order- Returns:
- An index array
-
sortActualdata
public int[] sortActualdata(boolean isAsc) Returns an index array that shows the order in which the rows refered to in the indexArray would be in if the actual data were sorted. Example indexArray[0] would refer to the row object that is first in the sorting order.- Parameters:
isAsc- whether to sort in ascending or descending order- Returns:
- An index array
-
scriptReferenced
For internal use only- Overrides:
scriptReferencedin classReportElement
-
setTopNData
public void setTopNData(int[] sortedIndex, boolean isRowBreak, short aggr) For internal use only -
recalculateFormulaColumnValue
public void recalculateFormulaColumnValue(quadbase.reportdesigner.report.Report report, int i, ReportTable table) For internal use only -
applyStyle
Applies the style information (font, font color, underline, horizontal and vertical alignment, wrap, border) from another cell.
-