public class KnuthBox extends KnuthElement
INFINITE
Constructor and Description |
---|
KnuthBox(int w,
Position pos,
boolean bAux)
Create a new KnuthBox.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isBox() |
java.lang.String |
toString() |
getP, getW, getY, getZ, isAuxiliary, isUnresolvedElement
getLayoutManager, getPosition, isForcedBreak, isGlue, isPenalty, setPosition
public KnuthBox(int w, Position pos, boolean bAux)
w
- the width of this boxpos
- the Position stored in this boxbAux
- is this box auxiliary?public boolean isBox()
isBox
in class ListElement
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.