|
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.Cell2
public class Cell2
Represents a cell in the Table.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
Method Summary | |
---|---|
TextAlign |
getAlign()
Gets the TextAlign enumeration to use for the horizontal alignment of the text in the cell. |
java.lang.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. |
Border |
getBorder()
Gets the Border object to use for the cell. |
int |
getColumnIndex()
Gets the index of the Column2 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. |
CellPadding |
getPadding()
Gets the Padding object to use for 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. |
java.lang.Boolean |
getRightToLeft()
Gets a value specifying whether the text in the cell will be displayed right to left. |
Row2 |
getRow()
Gets the Row2 that the cell is contained in. |
int |
getRowSpan()
Gets the number of rows that the cell spans. |
boolean |
getSplittable()
Gets the value specifying whether the cell can be splittable. |
Tag |
getTag()
Gets the structure element of the cell. |
int |
getTagOrder()
Gets the structure element order of the cell. |
java.lang.String |
getText()
Gets the text to be displayed. |
Color |
getTextColor()
Gets the Color object to use for the text of the cell. |
java.lang.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(java.lang.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(CellPadding value)
Sets the Padding object to use for the cell. |
void |
setParagraphIndent(float value)
Sets the paragraph indent for the paragraphs of the cell. |
void |
setParagraphSpacing(float value)
Sets the paragraph spacing for the paragraphs of the cell. |
void |
setRightToLeft(java.lang.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 |
setSplittable(boolean value)
Sets the value specifying whether the cell can be splittable. |
void |
setTag(Tag value)
Sets the structure element of the cell. |
void |
setTagOrder(int value)
Sets the structure element order of the cell. |
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(java.lang.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 boolean getSplittable()
public void setSplittable(boolean value)
value
- the boolean value used to specify whether the cell can be splittable.public java.lang.String getText()
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 CellPadding getPadding()
Padding
object to use for the cell.
Padding
object to use for the cell.public void setPadding(CellPadding value)
Padding
object to use for the cell.
value
- The Padding
object to use for the cell.public Border getBorder()
Border
object to use for the cell.
Border
object to use for the cell.public float getFontSize()
public void setFontSize(float value)
value
- The font size to use for the text in the cell.public Font getFont()
Font
object to use for the cell.
Font
object to use for the cell.public void setFont(Font value)
Font
object to use for the cell.
value
- The Font
object to use for the cell.public Row2 getRow()
Row2
that the cell is contained in.
Row2
that the cell is contained in.public int getColumnIndex()
Column2
in which the cell begins.
Column2
in which the cell begins.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 float getWidth()
public float getHeight()
public Color getBackgroundColor()
Color
object to use for the background of the cell.
Color
object to use for the background of the cell.public void setBackgroundColor(Color value)
Color
object to use for the background of the cell.
value
- The Color
object to use for the background of the cell.public Color getTextColor()
Color
object to use for the text of the cell.
Color
object to use for the text of the cell.public void setTextColor(Color value)
Color
object to use for the text of the cell.
value
- The Color
object to use for the text of the cell.public TextAlign getAlign()
TextAlign
enumeration to use for the horizontal alignment of the text in the cell.
Justify and FullJustify are applicable only for text.
TextAlign
enumeration to use for the horizontal alignment of the text in the cell.
Justify and FullJustify are applicable only for text.public void setAlign(TextAlign value)
TextAlign
enumeration to use for the horizontal alignment of the text in the cell.
Justify and FullJustify are applicable only for text.
value
- The TextAlign
enumeration to use for the horizontal alignment of the text in the cell.
Justify and FullJustify are applicable only for text.public VAlign getVAlign()
VAlign
enumeration to use for the vertical alignment of the text in the cell.
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.
value
- The VAlign
enumeration to use for the vertical alignment of the text in the cell.public java.lang.Boolean getAutoLeading()
public void setAutoLeading(java.lang.Boolean value)
value
- whether the leading of the cell should be calculated automatically.public float getLeading()
public void setLeading(float value)
Setting this method will automatically set the
#setAutoLeading(InheritableBoolean value)
method to false.
value
- the leading for the text of the cell.public float getParagraphIndent()
public void setParagraphIndent(float value)
value
- the paragraph indent for the paragraphs of the cell.public float getParagraphSpacing()
public void setParagraphSpacing(float value)
value
- the paragraph spacing for the paragraphs of the cell.public java.lang.Boolean getRightToLeft()
public void setRightToLeft(java.lang.Boolean value)
value
- specifying whether the text in the cell will be displayed
right to left.public java.lang.Boolean getUnderline()
public void setUnderline(java.lang.Boolean value)
value
- specifying whether the text in the cell will be underlined.public void setTag(Tag value)
value
- the structure element of the cell.public Tag getTag()
public void setTagOrder(int value)
value
- the structure element order of the cell.public int getTagOrder()
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |