Examples of LongList


Examples of org.pentaho.reporting.engine.classic.core.util.LongList

  }

  public TableRowImpl(final Border border)
  {
    this.border = border;
    this.preferredSizes = new LongList(10);
    this.validatedLeadingSize = 0;
    this.validatedTrailingSize = new LongList(10);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.util.LongList

    }

    this.definedWidth = definedWidth;
    this.border = border;
    this.autoGenerated = autoGenerated;
    this.cachedSize = new LongList(10);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.util.LongList

  protected void updateBreaksForLastLineAlignment()
  {
    final long[] horizontalBreaks = getPageGrid().getHorizontalBreaks();
    final int breakCount = horizontalBreaks.length;
    final LongList pageLongList = new LongList(breakCount);
    final long endOfLine = getEndOfLine();
    final long startOfLine = getStartOfLine();
    for (int i = 0; i < breakCount; i++)
    {
      final long pos = horizontalBreaks[i];
      if (pos <= startOfLine)
      {
        // skip ..
        continue;
      }
      if (pos >= endOfLine)
      {
        break;
      }
      pageLongList.add(pos);
    }
    //pageLongList.add(endOfLine);
    pageLongList.add(Long.MAX_VALUE);

    final long[] pagebreaks = getPageBreaks();
    updatePageBreaks(pageLongList.toArray(pagebreaks), pageLongList.size());
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.util.LongList

  private HashMap<InstanceID, Point> cellIndex;
  private LongList gridHeights;

  public FastGridLayout()
  {
    gridHeights = new LongList(20);
    cells = new GenericObjectTable<GridCell>();
    cellIndex = new HashMap<InstanceID, Point>();
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.util.LongList

  }

  public void endSection(final Band band,
                         final FastGridLayout gridLayout)
  {
    LongList cellHeights = gridLayout.getCellHeights();
    this.rowOffset += cellHeights.size();
  }
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.