net.sf.jasperreports.engine
Interface JRStyleSetter

All Known Implementing Classes:
FillTableSubreport, JRFillBreak, JRFillCellContents, JRFillChart, JRFillComponentElement, JRFillCrosstab, JRFillElement, JRFillEllipse, JRFillFrame, JRFillGenericElement, JRFillGraphicElement, JRFillImage, JRFillLine, JRFillRectangle, JRFillStaticText, JRFillSubreport, JRFillTextElement, JRFillTextField

public interface JRStyleSetter

An interface implemented by objects upon which style attributes can be set.

Version:
$Id: JRStyleSetter.java 4595 2011-09-08 15:55:10Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
See Also:
JRAbstractObjectFactory.setStyle(JRStyleSetter, JRStyleContainer)

Method Summary
 void setStyle(JRStyle style)
          Set the style on the object.
 void setStyleNameReference(java.lang.String name)
          Set the name of an external style that is to be used by the object.
 

Method Detail

setStyle

void setStyle(JRStyle style)
Set the style on the object.

In some cases, this method is invoked after the object has requested its style to be set.

Parameters:
style - the style to be used by the object

setStyleNameReference

void setStyleNameReference(java.lang.String name)
Set the name of an external style that is to be used by the object.

Parameters:
name - the name of an external style


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com