Sets a style or a style reference on an object.
If the container includes a style (see
JRStyleContainer.getStyle getStyle() ,
a copy of this style will be created via
JRAbstractObjectFactory.getStyle(JRStyle) getStyle(JRStyle) and set on the object.
In addition to this, the implementation needs to handle the case when the container includes
an external style reference (see
JRStyleContainer.getStyleNameReference getStyleNameReference() .
Parameters: setter - a setter for the object on which the style should be set. Parameters: styleContainer - the original style container See Also:JRAbstractObjectFactory.getStyle(JRStyle)