DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements
Class CellDefault

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

public class CellDefault
extends java.lang.Object

Represents the default value of the cell.


Method Summary
 TextAlign getAlign()
          Gets the TextAlign enumeration to use for the horizontal alignment of each cell.
 com.cete.dynamicpdf.pageelements.InheritableBoolean 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 table.
 Border getBorder()
          Gets the Border object for the cells.
 Font getFont()
          Gets the Font object to use for the row.
 float getFontSize()
          Gets the font size to use for the cell.
 float getLeading()
          Gets the leading for the text of the cell.
 CellPadding getPadding()
          Gets the Padding object for the cells.
 float getParagraphIndent()
          Gets the paragraph indent for the paragraphs of the cell.
 float getParagraphSpacing()
          Gets the paragraph spacing for the paragraphs of the cell.
 com.cete.dynamicpdf.pageelements.InheritableBoolean getRightToLeft()
          Gets a value specifying whether the text in the cell will be displayed right to left.
 Color getTextColor()
          Gets the Color object to use for the text in the cell.
 com.cete.dynamicpdf.pageelements.InheritableBoolean 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 each cell.
 void setAlign(TextAlign value)
          Sets the TextAlign enumeration to use for the horizontal alignment of each cell.
 void setAutoLeading(com.cete.dynamicpdf.pageelements.InheritableBoolean value)
          Sets whether the leading of the cell should be calculated automatically.
 void setBackgroundColor(Color value)
          Gets the Color object to use for the background of the table.
 void setFont(Font value)
          Sets the Font object to use for the row.
 void setFontSize(float value)
          Sets the font size to use for the cell.
 void setLeading(float value)
          Sets the leading for the text of the cell.
 void setPadding(CellPadding value)
          Sets the Padding object for the cells.
 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(com.cete.dynamicpdf.pageelements.InheritableBoolean value)
          Sets a value specifying whether the text in the cell will be displayed right to left.
 void setTextColor(Color value)
          Sets the Color object to use for the text in the cell.
 void setUnderline(com.cete.dynamicpdf.pageelements.InheritableBoolean 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 each cell.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFont

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

Returns:
font of the cells.
See Also:
Font

setFont

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

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

getFontSize

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

Returns:
the font size to use for the cells.

setFontSize

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

Parameters:
value - the font size to use for the cells.

getTextColor

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

Returns:
the text color to use for the cell.
See Also:
Color

setTextColor

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

Parameters:
value - the text color to use for the cell.
See Also:
Color

getAlign

public TextAlign getAlign()
Gets the TextAlign enumeration to use for the horizontal alignment of each cell.

Returns:
the text alignment to use for the cell.
See Also:
TextAlign

setAlign

public void setAlign(TextAlign value)
Sets the TextAlign enumeration to use for the horizontal alignment of each cell.

Parameters:
value - the text alignment to use for the cell.
See Also:
TextAlign

getVAlign

public VAlign getVAlign()
Gets the VAlign enumeration to use for the vertical alignment of each cell.

Returns:
the vertical alignment to use for the cell.
See Also:
VAlign

setVAlign

public void setVAlign(VAlign value)
Sets the VAlign enumeration to use for the vertical alignment of each cell.

Parameters:
value - the vertical alignment to use for the cell.
See Also:
VAlign

getBackgroundColor

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

Returns:
the background color to use for the cell.
See Also:
Color

setBackgroundColor

public void setBackgroundColor(Color value)
Gets the Color object to use for the background of the table.

Parameters:
value - the background color to use for the cell.
See Also:
Color

getAutoLeading

public com.cete.dynamicpdf.pageelements.InheritableBoolean getAutoLeading()
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(com.cete.dynamicpdf.pageelements.InheritableBoolean value)
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 -

getLeading

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

Returns:
the leading for the text of the cell.

setLeading

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

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

Parameters:
value -

getParagraphIndent

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

Returns:
the paragraph indent for the paragraphs of the cell.

setParagraphIndent

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

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

getParagraphSpacing

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

Returns:
the paragraph spacing for the paragraphs of the cell.

setParagraphSpacing

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

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

getRightToLeft

public com.cete.dynamicpdf.pageelements.InheritableBoolean getRightToLeft()
Gets a value specifying whether the text in the cell will be displayed right to left.

Returns:
right to left property of the cell.

setRightToLeft

public void setRightToLeft(com.cete.dynamicpdf.pageelements.InheritableBoolean value)
Sets a value specifying whether the text in the cell will be displayed right to left.

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

getUnderline

public com.cete.dynamicpdf.pageelements.InheritableBoolean getUnderline()
Gets a value specifying whether the text in the cell will be underlined.

Returns:
the underline property of the cell.

setUnderline

public void setUnderline(com.cete.dynamicpdf.pageelements.InheritableBoolean value)
Sets a value specifying whether the text in the cell will be underlined.

Parameters:
value - the underline property of the cell.

getPadding

public CellPadding getPadding()
Gets the Padding object for the cells.

Returns:
the padding of the cells.
See Also:
CellPadding

setPadding

public void setPadding(CellPadding value)
Sets the Padding object for the cells.

Parameters:
value - the padding of the cells.
See Also:
CellPadding

getBorder

public Border getBorder()
Gets the Border object for the cells.

Returns:
the border of the cells.
See Also:
Border

DynamicPDF by ceTe Software

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