|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.cete.dynamicpdf.pageelements.Cell
Class represents a cell of a table.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
| Method Summary | |
CellAlign |
getAlign()
Gets the CellAlign enumeration to use for the horizontal
alignment of the text in the cell. |
boolean |
getAutoLeading()
Gets whether the leading of the cell should be calculated automatically. |
Color |
getBackgroundColor()
Gets the Color object to use for the background of the cell. |
int |
getColumnIndex()
Gets the index of the Column in which the cell begins. |
int |
getColumnSpan()
Gets the number of columns that the cell spans. |
PageElement |
getElement()
Gets the page element contained in the cell. |
Font |
getFont()
Gets the Font object to use for the cell. |
float |
getFontSize()
Gets the font size to use for the text in the cell. |
float |
getHeight()
Gets the height of the cell. |
float |
getLeading()
Gets the leading for the text of the cell. |
float |
getPadding()
Gets the padding of the cell. |
float |
getParagraphIndent()
Gets the paragraph indent for the paragraphs of the cell. |
float |
getParagraphSpacing()
Gets the paragraph spacing for the paragraphs of the cell. |
boolean |
getRightToLeft()
Gets a value specifying whether the text in the cell will be displayed right to left. |
Row |
getRow()
Gets the Row that the cell is contained in. |
int |
getRowSpan()
Gets the number of rows that the cell spans. |
java.lang.String |
getText()
Gets the text to be displayed. |
Color |
getTextColor()
Gets the Color object to use for the text of the cell. |
boolean |
getUnderline()
Gets a value specifying whether the text in the cell will be underlined. |
CellVAlign |
getVAlign()
Gets the CellVAlign enumeration to use for the vertical
alignment of the text in the cell. |
float |
getWidth()
Gets the width of the cell. |
void |
setAlign(CellAlign value)
Sets the CellAlign enumeration to use for the horizontal
alignment of the text in the cell. |
void |
setAutoLeading(boolean value)
Sets whether the leading of the cell should be calculated automatically. |
void |
setBackgroundColor(Color value)
Sets the Color object to use for the background of the cell. |
void |
setColumnSpan(int value)
Sets the number of columns that the cell spans. |
void |
setElement(PageElement value)
Sets the page element contained in the cell. |
void |
setFont(Font value)
Sets the Font object to use for the cell. |
void |
setFontSize(float value)
Sets the font size to use for the text in the cell. |
void |
setLeading(float value)
Sets the leading for the text of the cell. |
void |
setPadding(float value)
Sets the padding of the cell. |
void |
setParagraphIndent(float value)
Set the paragraph indent for the paragraphs of the cell. |
void |
setParagraphSpacing(float value)
Gets the paragraph spacing for the paragraphs of the cell. |
void |
setRightToLeft(boolean value)
Sets a value specifying whether the text in the cell will be displayed right to left. |
void |
setRowSpan(int value)
Sets the number of rows that the cell spans. |
void |
setText(java.lang.String value)
Sets the text to be displayed. |
void |
setTextColor(Color value)
Sets the Color object to use for the text of the cell. |
void |
setUnderline(boolean value)
Sets a value specifying whether the text in the cell will be underlined. |
void |
setVAlign(CellVAlign value)
Sets the CellVAlign enumeration to use for the vertical
alignment of the text in the cell. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String getText()
TableException - If there is no text in the cell.public void setText(java.lang.String value)
public PageElement getElement()
public void setElement(PageElement value)
public float getPadding()
public void setPadding(float value)
public Row getRow()
Row that the cell is contained in.
Rowpublic int getColumnIndex()
Column in which the cell begins.
Columnpublic float getWidth()
public Font getFont()
Font object to use for the cell.
Fontpublic void setFont(Font value)
Font object to use for the cell.
Fontpublic float getFontSize()
public void setFontSize(float value)
public int getColumnSpan()
public void setColumnSpan(int value)
public int getRowSpan()
public void setRowSpan(int value)
public Color getTextColor()
Color object to use for the text of the cell.
Colorpublic void setTextColor(Color value)
Color object to use for the text of the cell.
Colorpublic CellAlign getAlign()
CellAlign enumeration to use for the horizontal
alignment of the text in the cell.
CellAlignpublic void setAlign(CellAlign value)
CellAlign enumeration to use for the horizontal
alignment of the text in the cell.
CellAlignpublic CellVAlign getVAlign()
CellVAlign enumeration to use for the vertical
alignment of the text in the cell.
CellVAlignpublic void setVAlign(CellVAlign value)
CellVAlign enumeration to use for the vertical
alignment of the text in the cell.
CellVAlignpublic Color getBackgroundColor()
Color object to use for the background of the cell.
Colorpublic void setBackgroundColor(Color value)
Color object to use for the background of the cell.
Colorpublic float getLeading()
TableException - If there is no text in the cell and no associated
value for leading.public void setLeading(float value)
Setting this method will automatically set the
Cell.setAutoLeading(boolean value) method to false.
public boolean getAutoLeading()
public void setAutoLeading(boolean value)
This method is automatically set to false any time the
Cell.setLeading(float value) method is set.
public float getParagraphSpacing()
TableException - If there is no text in the cell and no associated
value for paragraph spacing.public void setParagraphSpacing(float value)
public float getParagraphIndent()
TableException - If there is no text in the cell and no associated
value for paragraph indent.public void setParagraphIndent(float value)
public boolean getUnderline()
public void setUnderline(boolean value)
public boolean getRightToLeft()
public void setRightToLeft(boolean value)
public float getHeight()
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||