Examples of reuse()


Examples of org.pentaho.reporting.engine.classic.core.layout.process.util.RowLevelPaginationShiftState.reuse()

  public void testRowShifting ()
  {
    InitialPaginationShiftState init = new InitialPaginationShiftState();
    RowLevelPaginationShiftState stateR1 = new RowLevelPaginationShiftState();
    stateR1.reuse(null, init, null);
    stateR1.increaseShift(10);
    stateR1.pop(null);

    assertEquals(10, init.getShiftForNextChild());
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.process.util.RowLevelPaginationShiftState.reuse()

    stateR1.pop(null);

    assertEquals(10, init.getShiftForNextChild());

    RowLevelPaginationShiftState stateR2 = new RowLevelPaginationShiftState();
    stateR2.reuse(null, init, null);
    stateR2.increaseShift(10);

    BlockLevelPaginationShiftState stateCC1 = new BlockLevelPaginationShiftState();
    stateCC1.reuse(null, stateR2, null);
    assertEquals(20, stateCC1.getShiftForNextChild());
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.