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 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
  See Also:
    `JRAbstractObjectFactory.setStyle(JRStyleSetter, JRStyleContainer)`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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