|
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.
View Example
| Method Summary | |
TextAlign |
getAlign()
Gets the TextAlign 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 actual 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 |
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. |
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. |
VAlign |
getVAlign()
Gets the VAlign enumeration to use for the vertical
alignment of the text in the cell. |
float |
getWidth()
Gets the width of the cell. |
void |
setAlign(TextAlign value)
Sets the TextAlign 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 |
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 |
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 |
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(VAlign value)
Sets the VAlign 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()
public void setText(java.lang.String value)
public PageElement getElement()
public void setElement(PageElement 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 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 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()
public void setLeading(float value)
Setting this property will automatically set the
AutoLeading property to false.
public boolean getAutoLeading()
public void setAutoLeading(boolean value)
This property is automatically set to false any time the
Leading property is set.
public float getParagraphSpacing()
public void setParagraphSpacing(float value)
public float getParagraphIndent()
public void setParagraphIndent(float value)
public TextAlign getAlign()
TextAlign enumeration to use for the horizontal
alignment of the text in the cell.
public void setAlign(TextAlign value)
TextAlign enumeration to use for the horizontal
alignment of the text in the cell.
public VAlign getVAlign()
VAlign enumeration to use for the vertical
alignment of the text in the cell.
public void setVAlign(VAlign value)
VAlign enumeration to use for the vertical
alignment of the text in the cell.
public boolean getUnderline()
public void setUnderline(boolean value)
public boolean getRightToLeft()
public void setRightToLeft(boolean value)
public int getColumnSpan()
Columnpublic float getHeight()
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||