AbstractBreaker.FloatPosition
, AbstractBreaker.PageBreakPosition
public class LeafPosition extends Position
Constructor | Description |
---|---|
LeafPosition(LayoutManager layoutManager,
int pos) |
Construct a leaf position.
|
LeafPosition(LayoutManager layoutManager,
int pos,
int index) |
Construct a leaf position.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
generatesAreas() |
|
int |
getLeafPos() |
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIndex, getLM, getLM, getPosition, getPosition, getShortLMName, setIndex
public LeafPosition(LayoutManager layoutManager, int pos)
layoutManager
- the associated layout managerpos
- the leaf positionpublic LeafPosition(LayoutManager layoutManager, int pos, int index)
layoutManager
- the associated layout managerpos
- the leaf positionindex
- the indexpublic int getLeafPos()
public boolean generatesAreas()
generatesAreas
in class Position
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.