|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jrefinery.report.targets.table.excel.ExcelDataCellStyle
The ExcelDataCellStyle is used to collect style information for an excel cell. This information is later transformed into a excel HSSFCellStyle using the ExcelCellStyleFactory.
Constructor Summary | |
ExcelDataCellStyle()
DefaultConstructor. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. |
java.lang.String |
getDataStyle()
Returns the defined cell data style. |
FontDefinition |
getFontDefinition()
Gets the font style for the text in the cell. |
ElementAlignment |
getHorizontalAlignment()
Gets the horizontal alignment for the cell. |
java.awt.Color |
getTextColor()
Returns the text color for the cell. |
ElementAlignment |
getVerticalAlignment()
Gets the vertical alignment for the cell. |
int |
hashCode()
Returns a hash code value for the object. |
boolean |
isWrapText()
Gets the word wrap setting for the cell. |
void |
setDataStyle(java.lang.String dataStyle)
Defines the cell data style. |
void |
setFontDefinition(FontDefinition fontDefinition)
Defines the font style for the text in the cell. |
void |
setHorizontalAlignment(ElementAlignment horizontalAlignment)
Sets the horizontal alignment for the cell. |
void |
setTextColor(java.awt.Color textColor)
Defines the text color for the cell. |
void |
setVerticalAlignment(ElementAlignment verticalAlignment)
Defines the vertical alignment for the cell. |
void |
setWrapText(boolean wrapText)
Defines the word wrap setting for the cell. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExcelDataCellStyle()
Method Detail |
public boolean isWrapText()
public void setWrapText(boolean wrapText)
wrapText
- set to true, if wordwrapping is enabled, false otherwise.public ElementAlignment getHorizontalAlignment()
public void setHorizontalAlignment(ElementAlignment horizontalAlignment)
horizontalAlignment
- the horizontal alignment for the cell content.public ElementAlignment getVerticalAlignment()
public void setVerticalAlignment(ElementAlignment verticalAlignment)
verticalAlignment
- the vertical alignment for the cell content.public FontDefinition getFontDefinition()
public void setFontDefinition(FontDefinition fontDefinition)
fontDefinition
- the font definition for the text in the cell.public java.awt.Color getTextColor()
public void setTextColor(java.awt.Color textColor)
textColor
- the text color.public java.lang.String getDataStyle()
public void setDataStyle(java.lang.String dataStyle)
dataStyle
- the cell data style.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.public int hashCode()
java.util.Hashtable
.
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |