|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jrefinery.report.targets.table.rtf.RTFCellStyle
The RTFCellStyle is used to define the style for the generated RTF-TableCell.
iText only supports the predefined logical fonts for RTF documents.
Constructor Summary | |
RTFCellStyle(ElementAlignment verticalAlignment,
ElementAlignment horizontalAlignment)
Creates a new RTFCellStyle. |
Method Summary | |
void |
applyAlignment(com.lowagie.text.Cell cell)
Defines the content alignment for the given iText cell. |
boolean |
equals(java.lang.Object o)
Tests whether the given object is equal to this object. |
ElementAlignment |
getHorizontalAlignment()
Returns the cell's horizontal alignment. |
ElementAlignment |
getVerticalAlignment()
Returns the cell's vertical alignment. |
int |
hashCode()
Calculates an Hashcode for this cell style. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RTFCellStyle(ElementAlignment verticalAlignment, ElementAlignment horizontalAlignment)
verticalAlignment
- the vertical text alignment.horizontalAlignment
- the horizontal text alignment.
java.lang.NullPointerException
- if one of the alignment parameters is null.Method Detail |
public ElementAlignment getVerticalAlignment()
public ElementAlignment getHorizontalAlignment()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the to be compared object.
public int hashCode()
hashCode
in class java.lang.Object
public void applyAlignment(com.lowagie.text.Cell cell)
cell
- the iText cell, that should be formated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |