|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jfree.report.modules.output.table.xls.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(FontDefinition fontDefinition,
java.awt.Color textColor,
ElementAlignment horizontal,
ElementAlignment vertical)
Creates a new ExcelDataCellStyle object with the given attributes. |
|
ExcelDataCellStyle(FontDefinition fontDefinition,
java.awt.Color textColor,
ElementAlignment horizontal,
ElementAlignment vertical,
java.lang.String dataStyle,
boolean wrapText)
Creates a new ExcelDataCellStyle definition. |
|
| 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. |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public ExcelDataCellStyle(FontDefinition fontDefinition,
java.awt.Color textColor,
ElementAlignment horizontal,
ElementAlignment vertical)
fontDefinition - the font definition used in the cell.textColor - the text color of the cell.horizontal - the horizontal alignment of the cell contents.vertical - the vertical alignment of the cell contents.
public ExcelDataCellStyle(FontDefinition fontDefinition,
java.awt.Color textColor,
ElementAlignment horizontal,
ElementAlignment vertical,
java.lang.String dataStyle,
boolean wrapText)
fontDefinition - the font definition used in the cell.textColor - the text color of the cell.horizontal - the horizontal alignment of the cell contents.vertical - the vertical alignment of the cell contents.dataStyle - the data style definition or null, if the default should be
used.wrapText - defines whether to wrap text in excel.| Method Detail |
public boolean isWrapText()
public ElementAlignment getHorizontalAlignment()
public ElementAlignment getVerticalAlignment()
public FontDefinition getFontDefinition()
public java.awt.Color getTextColor()
public java.lang.String getDataStyle()
public boolean equals(java.lang.Object o)
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||