Package org.apache.fop.layoutmgr
Class LeafPosition
java.lang.Object
org.apache.fop.layoutmgr.Position
org.apache.fop.layoutmgr.LeafPosition
- Direct Known Subclasses:
AbstractBreaker.FloatPosition
,AbstractBreaker.PageBreakPosition
A leaf position.
-
Constructor Summary
ConstructorDescriptionLeafPosition
(LayoutManager layoutManager, int pos) Construct a leaf position.LeafPosition
(LayoutManager layoutManager, int pos, int index) Construct a leaf position. -
Method Summary
Methods inherited from class org.apache.fop.layoutmgr.Position
getIndex, getLM, getLM, getPosition, getPosition, getShortLMName, setIndex
-
Constructor Details
-
LeafPosition
Construct a leaf position.- Parameters:
layoutManager
- the associated layout managerpos
- the leaf position
-
LeafPosition
Construct a leaf position.- Parameters:
layoutManager
- the associated layout managerpos
- the leaf positionindex
- the index
-
-
Method Details
-
getLeafPos
public int getLeafPos()- Returns:
- leaf position
-
generatesAreas
public boolean generatesAreas()- Overrides:
generatesAreas
in classPosition
- Returns:
- true if generates areas
-
toString
-