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:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Set the style on the object.
    void
    Set the name of an external style that is to be used by the object.
  • Method Details

    • 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