Class PaintDynamicComponentFunction

    • Constructor Detail

      • PaintDynamicComponentFunction

        public PaintDynamicComponentFunction()
        Deprecated.
        DefaultConstructor.
        Throws:
        IllegalStateException - (HeadlessException) if no full AWT is available. This function needs a working layout manager.
    • Method Detail

      • getField

        public String getField()
        Deprecated.
        Returns the field used by the function. The field name corresponds to a column name in the report's data-row.
        Returns:
        The field name.
      • setField

        public void setField​(String field)
        Deprecated.
        Sets the field name for the function. The field name corresponds to a column name in the report's data-row.
        Parameters:
        field - the field name.
      • reportInitialized

        public void reportInitialized​(ReportEvent event)
        Deprecated.
        Receives notification that report generation initializes the current run.

        The event carries a ReportState.Started state. Use this to initialize the report.

        Specified by:
        reportInitialized in interface ReportListener
        Overrides:
        reportInitialized in class AbstractFunction
        Parameters:
        event - The event.
      • pageStarted

        public void pageStarted​(ReportEvent event)
        Deprecated.
        Receives notification that a page has started.
        Specified by:
        pageStarted in interface PageEventListener
        Parameters:
        event - the event.
      • pageFinished

        public void pageFinished​(ReportEvent event)
        Deprecated.
        Receives notification that a page has ended.
        Specified by:
        pageFinished in interface PageEventListener
        Parameters:
        event - the event.
      • getValue

        public Object getValue()
        Deprecated.
        Return the current expression value.

        The value depends (obviously) on the expression implementation.

        Specified by:
        getValue in interface Expression
        Returns:
        the value of the function.
      • setScale

        public void setScale​(float scale)
        Deprecated.
        Define a scale factor for the created image. Using a higher scale factor will produce better results. A scale factor of 2 will double the resolution. A scale factor of 1 will create 72 dpi images.
        Parameters:
        scale - the scale factor.
      • getScale

        public float getScale()
        Deprecated.
        Gets the scale factor for the created image. Using a higher scale factor will produce better results. A scale factor of 2 will double the resolution. A scale factor of 1 will create 72 dpi images.
        Returns:
        the scale factor.