Package net.sf.jasperreports.engine
Interface JRStyleSetter
-
- All Known Implementing Classes:
ComponentFillSubreport
,JRFillBreak
,JRFillCellContents
,JRFillChart
,JRFillChartForAxis
,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.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
JRAbstractObjectFactory.setStyle(JRStyleSetter, JRStyleContainer)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setStyle(JRStyle style)
Set the style on the object.void
setStyleNameReference(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(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
-
-