setStyleNameReference(String styleName) Set the name of the external style to be used for this cell.
An external style is only effective when there is no internal style set for this cell,
i.e.
Sets the style used by this cell.
The style is only used for cell background and borders and is not inherited by
elements inside the cell.
Parameters: style - the style to be used
setStyleNameReference
public void setStyleNameReference(String styleName)(Code)
Set the name of the external style to be used for this cell.
An external style is only effective when there is no internal style set for this cell,
i.e.
JRDesignCellContents.getStyle() getStyle() returns null
The external style will be resolved at fill time from the templates used in the report.
Parameters: styleName - the name of the external style See Also:JRDesignCellContents.getStyleNameReference()