fop 0.90alpha1

org.apache.fop.layoutmgr
Class PaddingElement

java.lang.Object
  |
  +--org.apache.fop.layoutmgr.ListElement
        |
        +--org.apache.fop.layoutmgr.UnresolvedListElement
              |
              +--org.apache.fop.layoutmgr.UnresolvedListElementWithLength
                    |
                    +--org.apache.fop.layoutmgr.BorderOrPaddingElement
                          |
                          +--org.apache.fop.layoutmgr.PaddingElement

public class PaddingElement
extends BorderOrPaddingElement

This represents an unresolved padding element.


Fields inherited from class org.apache.fop.layoutmgr.UnresolvedListElementWithLength
log
 
Constructor Summary
PaddingElement(Position position, CondLengthProperty condLength, RelSide side, boolean isFirst, boolean isLast, PercentBaseContext context)
          Main constructor
 
Method Summary
 void notifyLayoutManager(MinOptMax effectiveLength)
          Called to notify the affected layout manager about the effective length after resolution.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.fop.layoutmgr.UnresolvedListElementWithLength
getLength, getSide, isConditional, isFirst, isLast
 
Methods inherited from class org.apache.fop.layoutmgr.UnresolvedListElement
getOriginatingLayoutManager
 
Methods inherited from class org.apache.fop.layoutmgr.ListElement
getLayoutManager, getPosition, isBox, isForcedBreak, isGlue, isPenalty, isUnresolvedElement, setPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PaddingElement

public PaddingElement(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.
side - the side to which this space element applies.
condLength - the length-conditional property for a border or padding specification
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 Detail

notifyLayoutManager

public void notifyLayoutManager(MinOptMax effectiveLength)
Description copied from class: UnresolvedListElementWithLength
Called to notify the affected layout manager about the effective length after resolution. This method is called once before each call to the layout manager's addAreas() method.
Overrides:
notifyLayoutManager in class BorderOrPaddingElement
See Also:
UnresolvedListElementWithLength

toString

public java.lang.String toString()
Overrides:
toString in class UnresolvedListElementWithLength
See Also:
Object.toString()

fop 0.90alpha1

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