Package org.jfree.report.modules.misc.autotable

Examples of org.jfree.report.modules.misc.autotable.AutoTableCellContent


{
  private AutoTableCellContent autoTableCellContent;

  public AutoTableCellContentReadHandler()
  {
    autoTableCellContent = new AutoTableCellContent();
  }
View Full Code Here


  }

  protected LayoutController processContent(final ReportTarget target)
      throws DataSourceException, ReportProcessingException, ReportDataFactoryException
  {
    final AutoTableCellContent content = (AutoTableCellContent) getElement();
    final FlowController flowController = getFlowController();
    final ReportDataRow reportDataRow =
        flowController.getMasterRow().getReportDataRow();

    final AutoTableLayoutController table = findTableParent();
    if (table == null)
    {
      throw new ReportProcessingException("Invalid state: have no auto-table as context.");
    }
    final int currentColumn = table.getCurrentColumn();

    if ("name".equals(content.getItem()))
    {
      final String columnName = reportDataRow.getColumnName(currentColumn);
      target.processText(columnName);
    }
    else if ("value".equals(content.getItem()))
    {
      final DataFlags flags = reportDataRow.getFlags(currentColumn);
      target.processContent(flags);
    }
    else
View Full Code Here

{
  private AutoTableCellContent autoTableCellContent;

  public AutoTableCellContentReadHandler()
  {
    autoTableCellContent = new AutoTableCellContent();
  }
View Full Code Here

  }

  protected LayoutController processContent(final ReportTarget target)
      throws DataSourceException, ReportProcessingException, ReportDataFactoryException
  {
    final AutoTableCellContent content = (AutoTableCellContent) getElement();
    final FlowController flowController = getFlowController();
    final ReportDataRow reportDataRow =
        flowController.getMasterRow().getReportDataRow();

    final AutoTableLayoutController table = findTableParent();
    if (table == null)
    {
      throw new ReportProcessingException("Invalid state: have no auto-table as context.");
    }
    final int currentColumn = table.getCurrentColumn();

    if ("name".equals(content.getItem()))
    {
      final String columnName = reportDataRow.getColumnName(currentColumn);
      target.processText(columnName);
    }
    else if ("value".equals(content.getItem()))
    {
      final DataFlags flags = reportDataRow.getFlags(currentColumn);
      target.processContent(flags);
    }
    else
View Full Code Here

{
  private AutoTableCellContent autoTableCellContent;

  public AutoTableCellContentReadHandler()
  {
    autoTableCellContent = new AutoTableCellContent();
  }
View Full Code Here

  }

  protected LayoutController processContent(final ReportTarget target)
      throws DataSourceException, ReportProcessingException, ReportDataFactoryException
  {
    final AutoTableCellContent content = (AutoTableCellContent) getElement();
    final FlowController flowController = getFlowController();
    final ReportDataRow reportDataRow =
        flowController.getMasterRow().getReportDataRow();

    final AutoTableLayoutController table = findTableParent();
    if (table == null)
    {
      throw new ReportProcessingException("Invalid state: have no auto-table as context.");
    }
    final int currentColumn = table.getCurrentColumn();

    if ("name".equals(content.getItem()))
    {
      final String columnName = reportDataRow.getColumnName(currentColumn);
      target.processText(columnName);
    }
    else if ("value".equals(content.getItem()))
    {
      final DataFlags flags = reportDataRow.getFlags(currentColumn);
      target.processContent(flags);
    }
    else
View Full Code Here

TOP

Related Classes of org.jfree.report.modules.misc.autotable.AutoTableCellContent

Copyright © 2018 www.massapicom. 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.