|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjdbreport.model.NullCell
public class NullCell
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface jdbreport.model.Cell |
|---|
Cell.Type |
| Field Summary |
|---|
| Fields inherited from interface jdbreport.model.Cell |
|---|
EMPTY_STRING, TEXT_HTML, TEXT_PLAIN |
| Constructor Summary | |
|---|---|
NullCell()
|
|
| Method Summary | |
|---|---|
void |
clear()
Sets all properties by default |
Object |
clone()
|
int |
getColSpan()
Returns a number of spanned columns for the cell |
String |
getContentType()
|
int |
getDecimals()
|
int |
getExtFlags()
|
Icon |
getIcon()
Returns the icon of the cell |
String |
getImageFormat()
|
Cell |
getOwner()
Returns the owner of the cell, can be null |
Picture |
getPicture()
Returns the picture of the cell |
int |
getRowSpan()
Returns a number of spanned rows for the cell |
Object |
getStyleId()
Key of the CellStyle in the map of the CellStyles |
String |
getText()
|
int |
getTotalFunction()
|
Object |
getValue()
Returns the value for the cell |
Cell.Type |
getValueType()
|
boolean |
isChild()
Returns true if the cell has an owner |
boolean |
isEditable()
Default true |
boolean |
isNotPrint()
Returns true if the cell is not printed |
boolean |
isNull()
Determines if the cell is null |
boolean |
isScaleIcon()
Determines whether the icons are scaled |
boolean |
isSpan()
|
void |
setColSpan(int value)
Sets a number of spanned columns for the cell |
void |
setDecimals(int p)
|
void |
setEditable(boolean b)
Sets the editable property, which must be false to disable edit of the cells |
void |
setExtFlags(int i)
|
void |
setIcon(Icon icon)
Sets an icon to the cell |
void |
setImage(Image image)
Sets an icon to the cell |
void |
setImageFormat(String format)
|
void |
setNotPrint(boolean b)
Sets the notPrint property, which must be true to disable printing of the cells |
void |
setOwner(Cell cell)
Sets the owner of the cell |
void |
setPicture(Picture picture)
Sets an picture to the cell |
void |
setRowSpan(int value)
Sets a number of spanned rows for the cell |
void |
setScaleIcon(boolean scale)
Sets a scale of the icon. |
void |
setStyleId(Object index)
Sets the CellStyle's id for the cell |
void |
setTotalFunction(int func)
|
void |
setValue(Object value)
|
void |
setValueType(Cell.Type valueType)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullCell()
| Method Detail |
|---|
public boolean isNull()
Cell
isNull in interface Cellpublic Object getValue()
Cell
getValue in interface Cellpublic void setValue(Object value)
setValue in interface Cellvalue - to assign to cellpublic int getRowSpan()
Cell
getRowSpan in interface Cellpublic void setRowSpan(int value)
Cell
setRowSpan in interface Cellvalue - a number of spanned rowspublic int getColSpan()
Cell
getColSpan in interface Cellpublic void setColSpan(int value)
Cell
setColSpan in interface Cellvalue - a number of spanned columnspublic boolean isChild()
Cell
isChild in interface Cellpublic boolean isSpan()
isSpan in interface Cellpublic Cell getOwner()
Cell
getOwner in interface Cellpublic void setOwner(Cell cell)
Cell
setOwner in interface Cellcell - the owner of the cell, can be nullpublic Object getStyleId()
Cell
getStyleId in interface Cellpublic void setStyleId(Object index)
Cell
setStyleId in interface Cellindex - the CellStyle's idpublic int getExtFlags()
getExtFlags in interface Cellpublic void setExtFlags(int i)
setExtFlags in interface Cellpublic boolean isNotPrint()
Cell
isNotPrint in interface Cellpublic void setNotPrint(boolean b)
Cell
setNotPrint in interface Cellb - if true the cell is not printedpublic Object clone()
clone in interface Cellclone in class Objectpublic String getText()
getText in interface Cellpublic void setIcon(Icon icon)
Cell
setIcon in interface Cellicon - the cell iconpublic Icon getIcon()
Cell
getIcon in interface Cellpublic boolean isScaleIcon()
Cell
isScaleIcon in interface Cellpublic void setScaleIcon(boolean scale)
Cell
setScaleIcon in interface Cellscale - scaleIcon propertypublic void setImageFormat(String format)
setImageFormat in interface Cellformat - the image's format e.g. "bmp", "png", "jpg"public String getImageFormat()
getImageFormat in interface Cellpublic String getContentType()
getContentType in interface Cellpublic void clear()
Cell
clear in interface Cellpublic int getTotalFunction()
public void setTotalFunction(int func)
public Cell.Type getValueType()
getValueType in interface Cellpublic void setValueType(Cell.Type valueType)
setValueType in interface CellvalueType - new type of the cell's valuepublic int getDecimals()
public void setDecimals(int p)
public boolean isEditable()
Cell
isEditable in interface Cellpublic void setEditable(boolean b)
Cell
setEditable in interface Cellb - if true the cell is editablepublic void setImage(Image image)
Cell
setImage in interface Cellimage - the cell imagepublic Picture getPicture()
Cell
getPicture in interface Cellpublic void setPicture(Picture picture)
Cell
setPicture in interface Cellpicture - the cell picture
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||