public class AdvancementPositioner extends Object
Modifier and Type | Field and Description |
---|---|
private Advancement |
advancement |
private List<AdvancementPositioner> |
children |
private int |
childrenSize |
private int |
depth |
private float |
field_1265 |
private float |
field_1266 |
private AdvancementPositioner |
optionalLast |
private AdvancementPositioner |
parent |
private AdvancementPositioner |
previousSibling |
private float |
relativeRowInSiblings |
private float |
row |
private AdvancementPositioner |
substituteChild |
Constructor and Description |
---|
AdvancementPositioner(Advancement advancement,
AdvancementPositioner parent,
AdvancementPositioner previousSibling,
int childrenSize,
int depth) |
Modifier and Type | Method and Description |
---|---|
private void |
apply() |
static void |
arrangeForTree(Advancement root) |
private void |
calculateRecursively() |
private AdvancementPositioner |
findChildrenRecursively(Advancement advancement,
AdvancementPositioner lastChild) |
private float |
findMinRowRecursively(float deltaRow,
int depth,
float minRow) |
private AdvancementPositioner |
getFirstChild() |
private AdvancementPositioner |
getLast(AdvancementPositioner advancementPositioner,
AdvancementPositioner advancementPositioner2) |
private AdvancementPositioner |
getLastChild() |
private void |
increaseRowRecursively(float deltaRow) |
private AdvancementPositioner |
onFinishCalculation(AdvancementPositioner last) |
private void |
onFinishChildrenCalculation() |
private void |
pushDown(AdvancementPositioner advancementPositioner,
float extraRowDistance) |
private final Advancement advancement
private final AdvancementPositioner parent
private final AdvancementPositioner previousSibling
private final int childrenSize
private final List<AdvancementPositioner> children
private AdvancementPositioner optionalLast
private AdvancementPositioner substituteChild
private int depth
private float row
private float relativeRowInSiblings
private float field_1266
private float field_1265
public AdvancementPositioner(Advancement advancement, @Nullable AdvancementPositioner parent, @Nullable AdvancementPositioner previousSibling, int childrenSize, int depth)
@Nullable private AdvancementPositioner findChildrenRecursively(Advancement advancement, @Nullable AdvancementPositioner lastChild)
private void calculateRecursively()
private float findMinRowRecursively(float deltaRow, int depth, float minRow)
private void increaseRowRecursively(float deltaRow)
private void onFinishChildrenCalculation()
@Nullable private AdvancementPositioner getFirstChild()
@Nullable private AdvancementPositioner getLastChild()
private AdvancementPositioner onFinishCalculation(AdvancementPositioner last)
private void pushDown(AdvancementPositioner advancementPositioner, float extraRowDistance)
private AdvancementPositioner getLast(AdvancementPositioner advancementPositioner, AdvancementPositioner advancementPositioner2)
private void apply()
public static void arrangeForTree(Advancement root)