You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DisplaySpace.java 520B

123456789101112131415161718192021222324
  1. /* $Id$
  2. * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
  3. * For details on use and redistribution please refer to the
  4. * LICENSE file included with these sources.
  5. */
  6. package org.apache.fop.layout;
  7. import org.apache.fop.render.Renderer;
  8. public class DisplaySpace extends Space {
  9. private int size;
  10. public DisplaySpace(int size) {
  11. this.size = size;
  12. }
  13. public int getSize() {
  14. return size;
  15. }
  16. public void render(Renderer renderer) {
  17. renderer.renderDisplaySpace(this);
  18. }
  19. }