Package org.jfree.layouting.renderer.model.table

Examples of org.jfree.layouting.renderer.model.table.TableRenderBox


  protected void processBlockLevelChild(final RenderNode node)
  {
    if (node instanceof TableRenderBox)
    {
      final TableRenderBox table = (TableRenderBox) node;
      processTable(table);
    }
    else
    {
      super.processBlockLevelChild(node);
View Full Code Here


      finishParagraph(paragraph);
      return;
    }
    else if (box instanceof TableRenderBox)
    {
      final TableRenderBox table = (TableRenderBox) box;
      finishTable(table);
      return;
    }
    else if (box instanceof TableRowRenderBox)
    {
View Full Code Here

  private void computeCellArea(final TableCellRenderBox cellRenderBox)
  {
    // This is slightly different for table cells ...
    final int columnIndex = cellRenderBox.getColumnIndex();
    final TableRenderBox table = cellRenderBox.getTable();
    final TableColumnModel columnModel = table.getColumnModel();
    final TableColumn column = columnModel.getColumn(columnIndex);
    long effectiveSize = column.getEffectiveSize();

    final int colSpan = cellRenderBox.getColSpan();
    if (colSpan > 1)
View Full Code Here

      finishParagraph(paragraph);
      return;
    }
    else if (box instanceof TableRenderBox)
    {
      final TableRenderBox table = (TableRenderBox) box;
      finishTable(table);
      return;
    }
    else if (box instanceof TableRowRenderBox)
    {
View Full Code Here

      return false;
    }

    if (box instanceof TableRenderBox)
    {
      TableRenderBox table = (TableRenderBox) box;
      if (table.isAutoLayout())
      {
        // Auto-Layout means, we have to see the complete table.
        // Yes, that is expensive ..
        layoutFailureNodeId = box.getInstanceId();
        layoutFailureResolution = BOX_MUST_BE_CLOSED;
        return false;
      }

      // now dive deeper. Seek the first occurence of an table-body element..
      boolean foundBodyGroup = false;

      RenderNode node = table.getFirstChild();
      while (node != null)
      {
        if (node instanceof TableSectionRenderBox)
        {
          TableSectionRenderBox section = (TableSectionRenderBox) node;
View Full Code Here

TOP

Related Classes of org.jfree.layouting.renderer.model.table.TableRenderBox

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.