|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.targets.table.html.HtmlCellStyle
The HtmlCellStyle is used to define the style for the generated HTML-CellStyle. This style directly references to an CSS-StyleDefinition.
Constructor Summary | |
HtmlCellStyle(FontDefinition font,
java.awt.Color fontColor,
ElementAlignment verticalAlignment,
ElementAlignment horizontalAlignment)
Creates a new HTML-StyleDefinition. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Test, whether an other object equals this HtmlCellStyle. |
FontDefinition |
getFont()
Gets the font style for the cell. |
java.awt.Color |
getFontColor()
Gets the text color for the cell. |
ElementAlignment |
getHorizontalAlignment()
Returns the horizontal element alignment for the content of the cell. |
ElementAlignment |
getVerticalAlignment()
Returns the vertical element alignment for the content of the cell. |
int |
hashCode()
Gets the hashcode for this style definition. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HtmlCellStyle(FontDefinition font, java.awt.Color fontColor, ElementAlignment verticalAlignment, ElementAlignment horizontalAlignment)
font
- the font used to display text.fontColor
- the text color.verticalAlignment
- the vertical content alignment.horizontalAlignment
- the horizontal content alignment.
java.lang.NullPointerException
- if any of the parameters is null.Method Detail |
public FontDefinition getFont()
public java.awt.Color getFontColor()
public ElementAlignment getVerticalAlignment()
public ElementAlignment getHorizontalAlignment()
public boolean equals(java.lang.Object o)
o
- the compared object.
public int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |