|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CellObject
Interface for cell in TemplateReport
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface jdbreport.model.Cell |
---|
Cell.Type |
Field Summary | |
---|---|
static int |
AF_AVG
Total function Avg |
static int |
AF_MAX
Total function Max |
static int |
AF_MIN
Total function Min |
static int |
AF_NONE
No total function |
static int |
AF_SUM
Total function Sum |
static String[] |
AGR_FUNC_NAME
Text representation total functions |
static int |
TYPE_FIELD
|
static int |
TYPE_NONE
|
static int |
TYPE_VAR
|
Fields inherited from interface jdbreport.model.Cell |
---|
EMPTY_STRING, serialVersionUID, TEXT_HTML, TEXT_PLAIN |
Method Summary | |
---|---|
Object |
clone()
|
Cell |
createCellItem()
Creates the Cell object and copies its properties there |
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 |
int |
getTotalFunction()
|
int |
getType()
|
boolean |
isNotRepeate()
|
boolean |
isOldEquals(Object value)
Compares the meaning of the new generated cell with saved meaning |
boolean |
isReplacement()
|
void |
setDataSetId(String dataSetId)
|
void |
setExpressions(Expression[] expr)
|
void |
setFieldName(String name)
|
void |
setFunctionName(String functionName)
Sets the name of the CellFunction object |
void |
setNotRepeate(boolean notRepeate)
|
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 interface jdbreport.model.Cell |
---|
clear, 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 |
Field Detail |
---|
static final int TYPE_NONE
static final int TYPE_VAR
static final int TYPE_FIELD
static final int AF_NONE
static final int AF_SUM
static final int AF_MAX
static final int AF_MIN
static final int AF_AVG
static final String[] AGR_FUNC_NAME
Method Detail |
---|
String getFieldName()
void setFieldName(String name)
name
- the field's nameString getDataSetId()
void setDataSetId(String dataSetId)
dataSetId
- the DataSet's aliasint getType()
void setType(int type)
type
- Data type (TYPE_VAR, TYPE_FIELD or TYPE_NONE)boolean isNotRepeate()
void setNotRepeate(boolean notRepeate)
notRepeate
- not repeated value for columnObject clone()
clone
in interface Cell
Cell createCellItem()
String getFunctionName()
void setFunctionName(String functionName)
functionName
- name of the CellFunction objectint getTotalFunction()
void setTotalFunction(int func)
func
- the total function: Sum, Max, Min or Avgvoid setOldValue(Object oldValue)
oldValue
- the current meaningboolean isOldEquals(Object value)
value
- the new meaning
Expression[] getExpressions()
void setExpressions(Expression[] expr)
expr
- a list of expressionsString[] getDataSetIds()
String[] getFieldNames(String dsId)
dsId
- the dataset's alias
boolean isReplacement()
void setReplacement(boolean b)
b
- sign of the replacement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |