Package org.pentaho.reporting.engine.classic.core.layout.process.util

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


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

    assertEquals(10, init.getShiftForNextChild());

    RowLevelPaginationShiftState stateR2 = new RowLevelPaginationShiftState();
    stateR2.reuse(null, init, null);
View Full Code Here


    stateCC2.increaseShift(7);
    stateCC2.pop(null);

    assertEquals(20, stateR2.getShiftForNextChild());

    stateR2.pop(null);
    assertEquals(27, init.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.