fop 0.94 | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.fop.layoutmgr.ListElement
org.apache.fop.layoutmgr.UnresolvedListElement
org.apache.fop.layoutmgr.UnresolvedListElementWithLength
org.apache.fop.layoutmgr.SpaceElement
public class SpaceElement
extends UnresolvedListElementWithLength
Field Summary |
Fields inherited from class org.apache.fop.layoutmgr.UnresolvedListElementWithLength | |
log |
Constructor Summary | |
|
Method Summary | |
int | |
boolean | |
void |
|
String |
|
Methods inherited from class org.apache.fop.layoutmgr.UnresolvedListElementWithLength | |
getLength , getSide , isConditional , isFirst , isLast , notifyLayoutManager , toString |
Methods inherited from class org.apache.fop.layoutmgr.UnresolvedListElement | |
getOriginatingLayoutManager , isConditional |
Methods inherited from class org.apache.fop.layoutmgr.ListElement | |
getLayoutManager , getPosition , isBox , isForcedBreak , isGlue , isPenalty , isUnresolvedElement , setPosition |
public SpaceElement(Position position, SpaceProperty space, RelSide side, boolean isFirst, boolean isLast, PercentBaseContext context)
Main constructor
- Parameters:
position
- the Position instance needed by the addAreas stage of the LMs.space
- the space propertyside
- the side to which this space element applies.isFirst
- true if this is a space-before of the first area generated.isLast
- true if this is a space-after of the last area generated.context
- the property evaluation context
public int getPrecedence()
- Returns:
- the precedence of the space
public boolean isForcing()
- Returns:
- true if the space is forcing.
public void notifyLayoutManager(MinOptMax effectiveLength)
- Overrides:
- notifyLayoutManager in interface UnresolvedListElementWithLength
- See Also:
UnresolvedListElementWithLength
public String toString()
- Overrides:
- toString in interface UnresolvedListElementWithLength
- See Also:
java.lang.Object.toString()
fop 0.94 |