DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements
Class Cell

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.Cell

Deprecated. As of DynamicPDF v6.0.0, replaced by Cell2

public class Cell
extends java.lang.Object

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:

View Example


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

getText

public java.lang.String getText()
Deprecated. 
Gets the text to be displayed.

Throws:
TableException - If there is no text in the cell.
Returns:
the text to be displayed.

setText

public void setText(java.lang.String value)
Deprecated. 
Sets the text to be displayed.

Parameters:
value - the text to be displayed.

getElement

public PageElement getElement()
Deprecated. 
Gets the page element contained in the cell.

Returns:
the page element contained in the cell.

setElement

public void setElement(PageElement value)
Deprecated. 
Sets the page element contained in the cell.

Parameters:
value - the page element contained in the cell.

getPadding

public float getPadding()
Deprecated. 
Gets the padding of the cell. By default this value is set to float.NaN. Being set to 'Not a Number' implies that the cell's padding will be pulled from the padding for the row containing that cell.

Returns:
padding of the cell.

setPadding

public void setPadding(float value)
Deprecated. 
Sets the padding of the cell.

Parameters:
value - padding of the cell.

getRow

public Row getRow()
Deprecated. 
Gets the Row that the cell is contained in.

Returns:
the row
See Also:
Row

getColumnIndex

public int getColumnIndex()
Deprecated. 
Gets the index of the Column in which the cell begins.

Returns:
the column index.
See Also:
Column

getWidth

public float getWidth()
Deprecated. 
Gets the width of the cell.

Returns:
the width of the cell.

getFont

public Font getFont()
Deprecated. 
Gets the Font object to use for the cell.

Returns:
the font of the cell.
See Also:
Font

setFont

public void setFont(Font value)
Deprecated. 
Sets the Font object to use for the cell.

Parameters:
value - the font of the cell.
See Also:
Font

getFontSize

public float getFontSize()
Deprecated. 
Gets the font size to use for the text in the cell.

Returns:
the font size of the cell.

setFontSize

public void setFontSize(float value)
Deprecated. 
Sets the font size to use for the text in the cell.

Parameters:
value - the font size of the cell.

getColumnSpan

public int getColumnSpan()
Deprecated. 
Gets the number of columns that the cell spans.

Returns:
the number of columns that the cell spans.

setColumnSpan

public void setColumnSpan(int value)
Deprecated. 
Sets the number of columns that the cell spans.

Parameters:
value - the number of columns that the cell spans.

getRowSpan

public int getRowSpan()
Deprecated. 
Gets the number of rows that the cell spans.

Returns:
the number of rows that the cell spans.

setRowSpan

public void setRowSpan(int value)
Deprecated. 
Sets the number of rows that the cell spans.

Parameters:
value - the number of rows that the cell spans.

getTextColor

public Color getTextColor()
Deprecated. 
Gets the Color object to use for the text of the cell.

Returns:
the text color of the cell.
See Also:
Color

setTextColor

public void setTextColor(Color value)
Deprecated. 
Sets the Color object to use for the text of the cell.

Parameters:
value - the text color of the cell.
See Also:
Color

getAlign

public CellAlign getAlign()
Deprecated. 
Gets the CellAlign enumeration to use for the horizontal alignment of the text in the cell.

Returns:
the text align of the cell.
See Also:
CellAlign

setAlign

public void setAlign(CellAlign value)
Deprecated. 
Sets the CellAlign enumeration to use for the horizontal alignment of the text in the cell.

Parameters:
value - the text align of the cell.
See Also:
CellAlign

getVAlign

public CellVAlign getVAlign()
Deprecated. 
Gets the CellVAlign enumeration to use for the vertical alignment of the text in the cell.

Returns:
the text vertical align of the cell.
See Also:
CellVAlign

setVAlign

public void setVAlign(CellVAlign value)
Deprecated. 
Sets the CellVAlign enumeration to use for the vertical alignment of the text in the cell.

Parameters:
value - the text vertical align of the cell.
See Also:
CellVAlign

getBackgroundColor

public Color getBackgroundColor()
Deprecated. 
Gets the Color object to use for the background of the cell.

Returns:
the background color of the cell.
See Also:
Color

setBackgroundColor

public void setBackgroundColor(Color value)
Deprecated. 
Sets the Color object to use for the background of the cell.

Parameters:
value - the background color of the cell.
See Also:
Color

getLeading

public float getLeading()
Deprecated. 
Gets the leading for the text of the cell.

Throws:
TableException - If there is no text in the cell and no associated value for leading.
Returns:
the leading for the text of the cell.

setLeading

public void setLeading(float value)
Deprecated. 
Sets the leading for the text of the cell.

Setting this method will automatically set the setAutoLeading(boolean value) method to false.

Parameters:
value - the leading for the text of the cell.

getAutoLeading

public boolean getAutoLeading()
Deprecated. 
Gets whether the leading of the cell should be calculated automatically.

Returns:
The leading of the cell calculated automatically, true by default.

setAutoLeading

public void setAutoLeading(boolean value)
Deprecated. 
Sets whether the leading of the cell should be calculated automatically.

This method is automatically set to false any time the setLeading(float value) method is set.

Parameters:
value - the auto leading for the text of the cell.

getParagraphSpacing

public float getParagraphSpacing()
Deprecated. 
Gets the paragraph spacing for the paragraphs of the cell.

Throws:
TableException - If there is no text in the cell and no associated value for paragraph spacing.
Returns:
the paragraph spacing for the paragraphs of the cell.

setParagraphSpacing

public void setParagraphSpacing(float value)
Deprecated. 
Gets the paragraph spacing for the paragraphs of the cell.

Parameters:
value - the paragraph spacing for the paragraphs of the cell.

getParagraphIndent

public float getParagraphIndent()
Deprecated. 
Gets the paragraph indent for the paragraphs of the cell.

Throws:
TableException - If there is no text in the cell and no associated value for paragraph indent.
Returns:
the paragraph indent for the paragraphs of the cell.

setParagraphIndent

public void setParagraphIndent(float value)
Deprecated. 
Set the paragraph indent for the paragraphs of the cell.

Parameters:
value - the paragraph indent for the paragraphs of the cell.

getUnderline

public boolean getUnderline()
Deprecated. 
Gets a value specifying whether the text in the cell will be underlined.

Returns:
the underline status of the cell.

setUnderline

public void setUnderline(boolean value)
Deprecated. 
Sets a value specifying whether the text in the cell will be underlined.

Parameters:
value - the underline status of the cell.

getRightToLeft

public boolean getRightToLeft()
Deprecated. 
Gets a value specifying whether the text in the cell will be displayed right to left.

Returns:
the right to left status of the cell.

setRightToLeft

public void setRightToLeft(boolean value)
Deprecated. 
Sets a value specifying whether the text in the cell will be displayed right to left.

Parameters:
value - the right to left status of the cell.

getHeight

public float getHeight()
Deprecated. 
Gets the height of the cell.

Returns:
the height of the cell.

getTag

public Tag getTag()
Deprecated. 
Gets the structure element of the cell.

Returns:
the structure element of the cell.

setTag

public void setTag(Tag tag)
Deprecated. 
Sets the structure element of the cell.

Parameters:
tag - the structure element of the cell.

getTagOrder

public int getTagOrder()
Deprecated. 
Gets the structure element order of the cell.

Returns:
the structure element order of the cell.

setTagOrder

public void setTagOrder(int tagOrder)
Deprecated. 
Sets the structure element order of the cell.

Parameters:
tagOrder - the structure element order of the cell.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software