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