|
||||||||||
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 Cell
public Object getValue()
Cell
getValue
in interface Cell
public void setValue(Object value)
setValue
in interface Cell
value
- to assign to cellpublic int getRowSpan()
Cell
getRowSpan
in interface Cell
public void setRowSpan(int value)
Cell
setRowSpan
in interface Cell
value
- a number of spanned rowspublic int getColSpan()
Cell
getColSpan
in interface Cell
public void setColSpan(int value)
Cell
setColSpan
in interface Cell
value
- a number of spanned columnspublic boolean isChild()
Cell
isChild
in interface Cell
public boolean isSpan()
isSpan
in interface Cell
public Cell getOwner()
Cell
getOwner
in interface Cell
public void setOwner(Cell cell)
Cell
setOwner
in interface Cell
cell
- the owner of the cell, can be nullpublic Object getStyleId()
Cell
getStyleId
in interface Cell
public void setStyleId(Object index)
Cell
setStyleId
in interface Cell
index
- the CellStyle's idpublic int getExtFlags()
getExtFlags
in interface Cell
public void setExtFlags(int i)
setExtFlags
in interface Cell
public boolean isNotPrint()
Cell
isNotPrint
in interface Cell
public void setNotPrint(boolean b)
Cell
setNotPrint
in interface Cell
b
- if true the cell is not printedpublic Object clone()
clone
in interface Cell
clone
in class Object
public String getText()
getText
in interface Cell
public void setIcon(Icon icon)
Cell
setIcon
in interface Cell
icon
- the cell iconpublic Icon getIcon()
Cell
getIcon
in interface Cell
public boolean isScaleIcon()
Cell
isScaleIcon
in interface Cell
public void setScaleIcon(boolean scale)
Cell
setScaleIcon
in interface Cell
scale
- scaleIcon propertypublic void setImageFormat(String format)
setImageFormat
in interface Cell
format
- the image's format e.g. "bmp", "png", "jpg"public String getImageFormat()
getImageFormat
in interface Cell
public String getContentType()
getContentType
in interface Cell
public void clear()
Cell
clear
in interface Cell
public int getTotalFunction()
public void setTotalFunction(int func)
public Cell.Type getValueType()
getValueType
in interface Cell
public void setValueType(Cell.Type valueType)
setValueType
in interface Cell
valueType
- new type of the cell's valuepublic int getDecimals()
public void setDecimals(int p)
public boolean isEditable()
Cell
isEditable
in interface Cell
public void setEditable(boolean b)
Cell
setEditable
in interface Cell
b
- if true the cell is editablepublic void setImage(Image image)
Cell
setImage
in interface Cell
image
- the cell imagepublic Picture getPicture()
Cell
getPicture
in interface Cell
public void setPicture(Picture picture)
Cell
setPicture
in interface Cell
picture
- the cell picture
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |