Examples of LayoutExpressionRuntime


Examples of org.jfree.report.flow.LayoutExpressionRuntime

  protected AttributeMap computeAttributes(final FlowController fc,
                                           final Element element,
                                           final ReportTarget target)
      throws DataSourceException
  {
    final LayoutExpressionRuntime ler =
        LayoutControllerUtil.getExpressionRuntime(fc, element);
    return LayoutControllerUtil.processAttributes(element, target, ler);
  }
View Full Code Here

Examples of org.jfree.report.flow.LayoutExpressionRuntime

      throws DataSourceException, ReportProcessingException, ReportDataFactoryException
  {

    final Node node = getElement();
    final FlowController flowController = getFlowController();
    final LayoutExpressionRuntime er =
        LayoutControllerUtil.getExpressionRuntime(flowController, node);
    final ContentElement element = (ContentElement) node;
    final Expression ex = element.getValueExpression();
    final Object value;
View Full Code Here

Examples of org.jfree.report.flow.LayoutExpressionRuntime


  public static LayoutExpressionRuntime getExpressionRuntime
      (final FlowController fc, final Object node)
  {
    final LayoutExpressionRuntime ler = new LayoutExpressionRuntime();
    ler.setConfiguration(fc.getReportJob().getConfiguration());
    ler.setReportContext(fc.getReportContext());

    final GlobalMasterRow masterRow = fc.getMasterRow();
    ler.setDataRow(masterRow.getGlobalView());

    final ReportDataRow reportDataRow = masterRow.getReportDataRow();
    if (reportDataRow == null)
    {
      ler.setData(EMPTY_REPORT_DATA);
      ler.setCurrentRow(-1);
    }
    else
    {
      ler.setData(reportDataRow.getReportData());
      ler.setCurrentRow(reportDataRow.getCursor());
    }

    ler.setDeclaringParent(node);
    return ler;
  }
View Full Code Here

Examples of org.jfree.report.flow.LayoutExpressionRuntime

      return false;
    }

    // maybe we can move this state into the layoutstate itself so that
    // we do not have to rebuild that crap all the time.
    LayoutExpressionRuntime ler = null;

    // OK, now we are almost complete.
    while (group != null)
    {
      if (ler == null)
      {
        ler = getExpressionRuntime(fc, node);
      }

      ler.setDeclaringParent(group);

      final Expression groupingExpression = group.getGroupingExpression();
      if (groupingExpression != null)
      {
        groupingExpression.setRuntime(ler);
View Full Code Here

Examples of org.jfree.report.flow.LayoutExpressionRuntime


  public static LayoutExpressionRuntime getExpressionRuntime
      (final FlowController fc, final Object node)
  {
    final LayoutExpressionRuntime ler = new LayoutExpressionRuntime();
    ler.setConfiguration(fc.getReportJob().getConfiguration());
    ler.setReportContext(fc.getReportContext());

    final GlobalMasterRow masterRow = fc.getMasterRow();
    ler.setDataRow(masterRow.getGlobalView());

    final ReportDataRow reportDataRow = masterRow.getReportDataRow();
    if (reportDataRow == null)
    {
      ler.setData(EMPTY_REPORT_DATA);
      ler.setCurrentRow(-1);
    }
    else
    {
      ler.setData(reportDataRow.getReportData());
      ler.setCurrentRow(reportDataRow.getCursor());
    }

    ler.setDeclaringParent(node);
    return ler;
  }
View Full Code Here

Examples of org.jfree.report.flow.LayoutExpressionRuntime

      return false;
    }

    // maybe we can move this state into the layoutstate itself so that
    // we do not have to rebuild that crap all the time.
    LayoutExpressionRuntime ler = null;

    // OK, now we are almost complete.
    while (group != null)
    {
      if (ler == null)
      {
        ler = getExpressionRuntime(fc, node);
      }

      ler.setDeclaringParent(group);

      final Expression groupingExpression = group.getGroupingExpression();
      if (groupingExpression != null)
      {
        groupingExpression.setRuntime(ler);
View Full Code Here

Examples of org.jfree.report.flow.LayoutExpressionRuntime

  protected AttributeMap computeAttributes(final FlowController fc,
                                           final Element element,
                                           final ReportTarget target)
      throws DataSourceException
  {
    final LayoutExpressionRuntime ler =
        LayoutControllerUtil.getExpressionRuntime(fc, element);
    return LayoutControllerUtil.processAttributes(element, target, ler);
  }
View Full Code Here

Examples of org.jfree.report.flow.LayoutExpressionRuntime

      throws DataSourceException, ReportProcessingException, ReportDataFactoryException
  {

    final Node node = getElement();
    final FlowController flowController = getFlowController();
    final LayoutExpressionRuntime er =
        LayoutControllerUtil.getExpressionRuntime(flowController, node);
    final ContentElement element = (ContentElement) node;
    final Expression ex = element.getValueExpression();
    final Object value;
View Full Code Here

Examples of org.jfree.report.flow.LayoutExpressionRuntime

  protected AttributeMap computeAttributes(final FlowController fc,
                                           final Element element,
                                           final ReportTarget target)
      throws DataSourceException
  {
    final LayoutExpressionRuntime ler =
        LayoutControllerUtil.getExpressionRuntime(fc, element);
    return LayoutControllerUtil.processAttributes(element, target, ler);
  }
View Full Code Here

Examples of org.jfree.report.flow.LayoutExpressionRuntime

      throws DataSourceException, ReportProcessingException, ReportDataFactoryException
  {

    final Node node = getElement();
    final FlowController flowController = getFlowController();
    final LayoutExpressionRuntime er =
        LayoutControllerUtil.getExpressionRuntime(flowController, node);
    final ContentElement element = (ContentElement) node;
    final Expression ex = element.getValueExpression();
    final Object value;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.