public class LeafPosition extends Position
Constructor and 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 and Description |
---|---|
boolean |
generatesAreas() |
int |
getLeafPos() |
java.lang.String |
toString() |
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-2017 The Apache Software Foundation. All Rights Reserved.