1 17 18 19 20 package org.apache.fop.area.inline; 21 22 import org.apache.fop.area.Area; 23 import org.apache.fop.area.Block; 24 25 import java.util.List ; 26 import java.util.ArrayList ; 27 28 34 public class Container extends Area { 35 38 protected List blocks = new ArrayList (); 39 40 43 protected int width; 44 45 48 public Container() { 49 } 50 51 56 public void addBlock(Block block) { 57 blocks.add(block); 58 } 59 60 65 public List getBlocks() { 66 return blocks; 67 } 68 69 74 public int getWidth() { 75 return width; 76 } 77 } 78 79 | Popular Tags |