BorderOrPaddingElement
, SpaceElement
public abstract class UnresolvedListElementWithLength extends UnresolvedListElement
Modifier and Type | Field | Description |
---|---|---|
protected static org.apache.commons.logging.Log |
log |
Logger instance
|
Constructor | Description |
---|---|
UnresolvedListElementWithLength(Position position,
MinOptMax length,
RelSide side,
boolean conditional,
boolean isFirst,
boolean isLast) |
Main constructor
|
Modifier and Type | Method | Description |
---|---|---|
MinOptMax |
getLength() |
|
RelSide |
getSide() |
|
boolean |
isConditional() |
|
boolean |
isFirst() |
|
boolean |
isLast() |
|
abstract void |
notifyLayoutManager(MinOptMax effectiveLength) |
Called to notify the affected layout manager about the effective length after resolution.
|
java.lang.String |
toString() |
getLayoutManager, getPosition, isBox, isForcedBreak, isGlue, isPenalty, isUnresolvedElement, setPosition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOriginatingLayoutManager
public UnresolvedListElementWithLength(Position position, MinOptMax length, RelSide side, boolean conditional, boolean isFirst, boolean isLast)
position
- the Position instance needed by the addAreas stage of the LMs.length
- the length of the elementside
- the side to which this element appliesconditional
- true if it's a conditional element (conditionality=discard)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.public boolean isConditional()
isConditional
in class UnresolvedListElement
public MinOptMax getLength()
public RelSide getSide()
public boolean isFirst()
public boolean isLast()
public abstract void notifyLayoutManager(MinOptMax effectiveLength)
effectiveLength
- the effective length after resolution (may be null which equals to
zero effective length)public java.lang.String toString()
toString
in class java.lang.Object
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.