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() |
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 © 2025 Apache Software Foundation. All rights reserved.