|
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
Cell2
public class 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()
Deprecated. Gets the CellAlign enumeration to use for the horizontal
alignment of the text in the cell. |
boolean |
getAutoLeading()
Deprecated. Gets whether the leading of the cell should be calculated automatically. |
Color |
getBackgroundColor()
Deprecated. Gets the Color object to use for the background of the cell. |
int |
getColumnIndex()
Deprecated. Gets the index of the Column in which the cell begins. |
int |
getColumnSpan()
Deprecated. Gets the number of columns that the cell spans. |
PageElement |
getElement()
Deprecated. Gets the page element contained in the cell. |
Font |
getFont()
Deprecated. Gets the Font object to use for the cell. |
float |
getFontSize()
Deprecated. Gets the font size to use for the text in the cell. |
float |
getHeight()
Deprecated. Gets the height of the cell. |
float |
getLeading()
Deprecated. Gets the leading for the text of the cell. |
float |
getPadding()
Deprecated. Gets the padding of the cell. |
float |
getParagraphIndent()
Deprecated. Gets the paragraph indent for the paragraphs of the cell. |
float |
getParagraphSpacing()
Deprecated. Gets the paragraph spacing for the paragraphs of the cell. |
boolean |
getRightToLeft()
Deprecated. Gets a value specifying whether the text in the cell will be displayed right to left. |
Row |
getRow()
Deprecated. Gets the Row that the cell is contained in. |
int |
getRowSpan()
Deprecated. Gets the number of rows that the cell spans. |
Tag |
getTag()
Deprecated. Gets the structure element of the cell. |
int |
getTagOrder()
Deprecated. Gets the structure element order of the cell. |
java.lang.String |
getText()
Deprecated. Gets the text to be displayed. |
Color |
getTextColor()
Deprecated. Gets the Color object to use for the text of the cell. |
boolean |
getUnderline()
Deprecated. Gets a value specifying whether the text in the cell will be underlined. |
CellVAlign |
getVAlign()
Deprecated. Gets the CellVAlign enumeration to use for the vertical
alignment of the text in the cell. |
float |
getWidth()
Deprecated. Gets the width of the cell. |
void |
setAlign(CellAlign value)
Deprecated. Sets the CellAlign enumeration to use for the horizontal
alignment of the text in the cell. |
void |
setAutoLeading(boolean value)
Deprecated. Sets whether the leading of the cell should be calculated automatically. |
void |
setBackgroundColor(Color value)
Deprecated. Sets the Color object to use for the background of the cell. |
void |
setColumnSpan(int value)
Deprecated. Sets the number of columns that the cell spans. |
void |
setElement(PageElement value)
Deprecated. Sets the page element contained in the cell. |
void |
setFont(Font value)
Deprecated. Sets the Font object to use for the cell. |
void |
setFontSize(float value)
Deprecated. Sets the font size to use for the text in the cell. |
void |
setLeading(float value)
Deprecated. Sets the leading for the text of the cell. |
void |
setPadding(float value)
Deprecated. Sets the padding of the cell. |
void |
setParagraphIndent(float value)
Deprecated. Set the paragraph indent for the paragraphs of the cell. |
void |
setParagraphSpacing(float value)
Deprecated. Gets the paragraph spacing for the paragraphs of the cell. |
void |
setRightToLeft(boolean value)
Deprecated. Sets a value specifying whether the text in the cell will be displayed right to left. |
void |
setRowSpan(int value)
Deprecated. Sets the number of rows that the cell spans. |
void |
setTag(Tag tag)
Deprecated. Sets the structure element of the cell. |
void |
setTagOrder(int tagOrder)
Deprecated. Sets the structure element order of the cell. |
void |
setText(java.lang.String value)
Deprecated. Sets the text to be displayed. |
void |
setTextColor(Color value)
Deprecated. Sets the Color object to use for the text of the cell. |
void |
setUnderline(boolean value)
Deprecated. Sets a value specifying whether the text in the cell will be underlined. |
void |
setVAlign(CellVAlign value)
Deprecated. 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)
value
- the text to be displayed.public PageElement getElement()
public void setElement(PageElement value)
value
- the page element contained in the cell.public float getPadding()
public void setPadding(float value)
value
- padding of the cell.public Row getRow()
Row
that the cell is contained in.
Row
public int getColumnIndex()
Column
in which the cell begins.
Column
public float getWidth()
public Font getFont()
Font
object to use for the cell.
Font
public void setFont(Font value)
Font
object to use for the cell.
value
- the font of the cell.Font
public float getFontSize()
public void setFontSize(float value)
value
- the font size of the cell.public int getColumnSpan()
public void setColumnSpan(int value)
value
- the number of columns that the cell spans.public int getRowSpan()
public void setRowSpan(int value)
value
- the number of rows that the cell spans.public Color getTextColor()
Color
object to use for the text of the cell.
Color
public void setTextColor(Color value)
Color
object to use for the text of the cell.
value
- the text color of the cell.Color
public CellAlign getAlign()
CellAlign
enumeration to use for the horizontal
alignment of the text in the cell.
CellAlign
public void setAlign(CellAlign value)
CellAlign
enumeration to use for the horizontal
alignment of the text in the cell.
value
- the text align of the cell.CellAlign
public CellVAlign getVAlign()
CellVAlign
enumeration to use for the vertical
alignment of the text in the cell.
CellVAlign
public void setVAlign(CellVAlign value)
CellVAlign
enumeration to use for the vertical
alignment of the text in the cell.
value
- the text vertical align of the cell.CellVAlign
public Color getBackgroundColor()
Color
object to use for the background of the cell.
Color
public void setBackgroundColor(Color value)
Color
object to use for the background of the cell.
value
- the background color of the cell.Color
public 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
setAutoLeading(boolean value)
method to false.
value
- the leading for the text of the cell.public boolean getAutoLeading()
public void setAutoLeading(boolean value)
This method is automatically set to false any time the
setLeading(float value)
method is set.
value
- the auto leading for the text of the cell.public float getParagraphSpacing()
TableException
- If there is no text in the cell and no associated
value for paragraph spacing.
public void setParagraphSpacing(float value)
value
- the paragraph spacing for the paragraphs of the cell.public float getParagraphIndent()
TableException
- If there is no text in the cell and no associated
value for paragraph indent.
public void setParagraphIndent(float value)
value
- the paragraph indent for the paragraphs of the cell.public boolean getUnderline()
public void setUnderline(boolean value)
value
- the underline status of the cell.public boolean getRightToLeft()
public void setRightToLeft(boolean value)
value
- the right to left status of the cell.public float getHeight()
public Tag getTag()
public void setTag(Tag tag)
tag
- the structure element of the cell.public int getTagOrder()
public void setTagOrder(int tagOrder)
tagOrder
- the structure element order of the cell.
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |