1 17 18 19 20 package org.apache.fop.layoutmgr; 21 22 35 public class KnuthBox extends KnuthElement { 36 37 44 public KnuthBox(int w, Position pos, boolean bAux) { 45 super(w, pos, bAux); 46 } 47 48 49 public boolean isBox() { 50 return true; 51 } 52 53 54 public String toString() { 55 StringBuffer sb = new StringBuffer (64); 56 if (isAuxiliary()) { 57 sb.append("aux. "); 58 } 59 sb.append("box"); 60 sb.append(" w="); 61 sb.append(getW()); 62 return sb.toString(); 63 } 64 65 } 66 | Popular Tags |