|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjdbreport.model.ReportCell
jdbreport.design.model.TemplateReportCell
public class TemplateReportCell
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface jdbreport.model.Cell |
|---|
Cell.Type |
| Field Summary |
|---|
| Fields inherited from class jdbreport.model.ReportCell |
|---|
defaultValuesByClass |
| Fields inherited from interface jdbreport.design.model.CellObject |
|---|
AF_AVG, AF_MAX, AF_MIN, AF_NONE, AF_SUM, AGR_FUNC_NAME, TYPE_FIELD, TYPE_NONE, TYPE_VAR |
| Fields inherited from interface jdbreport.model.Cell |
|---|
EMPTY_STRING, TEXT_HTML, TEXT_PLAIN |
| Constructor Summary | |
|---|---|
TemplateReportCell()
|
|
| Method Summary | |
|---|---|
void |
clear()
Sets all properties by default |
Cell |
createCellItem()
Creates the Cell object and copies its properties there |
byte[] |
getCompiledFunction()
|
String |
getDataSetId()
|
String[] |
getDataSetIds()
A list of DataSet aliases contained in the cell |
Expression[] |
getExpressions()
A list of expressions contained in cells |
String |
getFieldName()
|
String[] |
getFieldNames(String dsId)
A list of field items contained in the cell for DataSet named dsId |
String |
getFunctionName()
Name of the CellFunction object |
String |
getFunctionText()
|
int |
getTotalFunction()
|
int |
getType()
|
boolean |
isNotRepeate()
|
boolean |
isOldEquals(Object value)
Compares the meaning of the new generated cell with saved meaning |
boolean |
isReplacement()
|
void |
setCompiledFunction(byte[] classBuf)
|
void |
setDataSetId(String tableId)
|
void |
setExpressions(Expression[] expr)
|
void |
setFieldName(String name)
|
void |
setFunctionName(String functionName)
Sets the name of the CellFunction object |
void |
setFunctionText(String text)
|
void |
setNotRepeate(boolean noRepeate)
|
void |
setOldValue(Object oldValue)
Remembers the current meaning of the generated cell |
void |
setReplacement(boolean b)
Sets the sign of the replacement value of the cell |
void |
setTotalFunction(int func)
|
void |
setType(int type)
|
| Methods inherited from class jdbreport.model.ReportCell |
|---|
clone, getColSpan, getContentType, getExtFlags, getIcon, getImageFormat, getOwner, getPicture, getRowSpan, getStyleId, getText, getValue, getValueType, isChild, isEditable, isNotPrint, isNull, isScaleIcon, isSpan, setColSpan, setDefaultCellValueClass, setEditable, setExtFlags, setIcon, setImage, setImageFormat, setNotPrint, setOwner, setPicture, setRowSpan, setScaleIcon, setStyleId, setValue, setValueType, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jdbreport.design.model.CellObject |
|---|
clone |
| Methods inherited from interface jdbreport.model.Cell |
|---|
getColSpan, getContentType, getExtFlags, getIcon, getImageFormat, getOwner, getPicture, getRowSpan, getStyleId, getText, getValue, getValueType, isChild, isEditable, isNotPrint, isNull, isScaleIcon, isSpan, setColSpan, setEditable, setExtFlags, setIcon, setImage, setImageFormat, setNotPrint, setOwner, setPicture, setRowSpan, setScaleIcon, setStyleId, setValue, setValueType |
| Constructor Detail |
|---|
public TemplateReportCell()
| Method Detail |
|---|
public String getFieldName()
getFieldName in interface CellObjectpublic void setFieldName(String name)
setFieldName in interface CellObjectname - the field's namepublic String getDataSetId()
getDataSetId in interface CellObjectpublic void setDataSetId(String tableId)
setDataSetId in interface CellObjecttableId - the DataSet's aliaspublic int getType()
getType in interface CellObjectpublic void setType(int type)
setType in interface CellObjecttype - Data type (TYPE_VAR, TYPE_FIELD or TYPE_NONE)public Cell createCellItem()
CellObject
createCellItem in interface CellObjectpublic boolean isNotRepeate()
isNotRepeate in interface CellObjectpublic void setNotRepeate(boolean noRepeate)
setNotRepeate in interface CellObjectnoRepeate - not repeated value for columnpublic String getFunctionText()
public void setFunctionText(String text)
public byte[] getCompiledFunction()
public void setCompiledFunction(byte[] classBuf)
public String getFunctionName()
CellObject
getFunctionName in interface CellObjectpublic void setFunctionName(String functionName)
CellObject
setFunctionName in interface CellObjectfunctionName - name of the CellFunction objectpublic int getTotalFunction()
getTotalFunction in interface CellObjectpublic void setTotalFunction(int func)
setTotalFunction in interface CellObjectfunc - the total function: Sum, Max, Min or Avgpublic void clear()
Cell
clear in interface Cellclear in class ReportCellpublic boolean isOldEquals(Object value)
CellObject
isOldEquals in interface CellObjectvalue - the new meaning
public void setOldValue(Object oldValue)
CellObject
setOldValue in interface CellObjectoldValue - the current meaningpublic Expression[] getExpressions()
CellObject
getExpressions in interface CellObjectpublic void setExpressions(Expression[] expr)
setExpressions in interface CellObjectexpr - a list of expressionspublic String[] getDataSetIds()
CellObject
getDataSetIds in interface CellObjectpublic String[] getFieldNames(String dsId)
CellObject
getFieldNames in interface CellObjectdsId - the dataset's alias
public boolean isReplacement()
isReplacement in interface CellObjectpublic void setReplacement(boolean b)
CellObject
setReplacement in interface CellObjectb - sign of the replacement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||