org.apache.fop.layoutmgr

Class BorderElement


public class BorderElement
extends BorderOrPaddingElement

This represents an unresolved border element.

Field Summary

Fields inherited from class org.apache.fop.layoutmgr.UnresolvedListElementWithLength

log

Constructor Summary

BorderElement(Position position, CondLengthProperty condLength, RelSide side, boolean isFirst, boolean isLast, PercentBaseContext context)
Main constructor

Method Summary

void
notifyLayoutManager(MinOptMax effectiveLength)
String
toString()

Methods inherited from class org.apache.fop.layoutmgr.BorderOrPaddingElement

notifyLayoutManager

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

Constructor Details

BorderElement

public BorderElement(Position position,
                     CondLengthProperty condLength,
                     RelSide side,
                     boolean isFirst,
                     boolean isLast,
                     PercentBaseContext context)
Main constructor
Parameters:
position - the Position instance needed by the addAreas stage of the LMs.
condLength - the length-conditional property for a border or padding specification
side - the side to which this space element applies.
isFirst - true if this is a padding- or border-before of the first area generated.
isLast - true if this is a padding- or border-after of the last area generated.
context - the property evaluation context

Method Details

notifyLayoutManager

public void notifyLayoutManager(MinOptMax effectiveLength)
Overrides:
notifyLayoutManager in interface BorderOrPaddingElement

toString

public String toString()
Overrides:
toString in interface UnresolvedListElementWithLength

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.