| |
|
| java.lang.Object org.apache.fop.layoutmgr.ListElement
All known Subclasses: org.apache.fop.layoutmgr.KnuthElement, org.apache.fop.layoutmgr.UnresolvedListElement,
ListElement | abstract public class ListElement (Code) | | This class is the base class for all kinds of elements that are added to element lists. There
are basically two kinds of list elements: Knuth elements and unresolved elements like spaces,
border and padding elements which are converted to Knuth elements prior to the breaking
process.
|
ListElement | public ListElement(Position position)(Code) | | Main constructor
Parameters: position - the Position instance needed by the addAreas stage of the LMs. |
getLayoutManager | public LayoutManager getLayoutManager()(Code) | | the LayoutManager responsible for this element. |
getPosition | public Position getPosition()(Code) | | the Position instance for this element. |
isBox | public boolean isBox()(Code) | | true if this element is a KnuthBox. |
isForcedBreak | public boolean isForcedBreak()(Code) | | true if the element is a penalty and represents a forced break. |
isGlue | public boolean isGlue()(Code) | | true if this element is a KnuthGlue. |
isPenalty | public boolean isPenalty()(Code) | | true if this element is a KnuthPenalty. |
isUnresolvedElement | public boolean isUnresolvedElement()(Code) | | true if the element is an unresolved element such as a space or a border. |
setPosition | public void setPosition(Position position)(Code) | | Change the Position stored in this element.
Parameters: position - the Position instance |
|
|
|