@ThreadRestricted(value="wicket") final class Tier extends Object
The rows of the tier are indexed from zero (top), and ordered as follows:
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Tier.CountCumulate
A total of counts across multiple count nodes.
|
Modifier and Type | Field and Description |
---|---|
(package private) CountNodeW |
crosspathNode
The crosspath node, or null if there is none.
|
(package private) int |
crosspathRow
The row of the crosspath node, or -1 if there is no crosspath node.
|
(package private) WP_Votespace.FootnoteBuilder |
footnoteBuilder |
(package private) int |
footnoteRow
The first footnote row.
|
(package private) Tier.CountCumulate |
otherNodesCumulate
The cumulative count of the other nodes, not individually shown in the
view, or null if there are no other nodes.
|
(package private) int |
otherNodesRow
The row of the other-nodes cumulate, or -1 if there are no other nodes.
|
(package private) CountNodeW |
pathNode
The path node, or null if there is none.
|
(package private) int |
pathRow
The row of the path node, or -1 if there is no path node.
|
(package private) XCastRelation |
place
|
(package private) List<CountNodeW> |
properNodesList
An unmodifiable list of the proper nodes in this tier.
|
(package private) int |
properRow
The row of the first proper node.
|
(package private) int |
sumRow
The first of the two sum rows, or -1 if there are none.
|
Constructor and Description |
---|
Tier(CountNodeW _pathNode,
CountNodeW node)
Constructs an orphan tier.
|
Tier(CountNodeW pathNode,
CountNodeW crosspathNode,
ArrayList<CountNodeW> properNodesList,
CountNodeW candidateNode,
Count count)
Constructs a tier from an ArrayList.
|
Modifier and Type | Method and Description |
---|---|
(package private) CountNodeW |
getNode(int r)
Returns the node for the specified row, which is either a proper node
or a path node (or crosspath node) external to the proper list.
|
(package private) void |
initPlace(CountNodeW specificPathNode,
int t,
int tN) |
(package private) int |
lastNodeRow()
The row of the last node.
|
(package private) int |
rowCount()
The total number of rows.
|
final CountNodeW crosspathNode
final int crosspathRow
final WP_Votespace.FootnoteBuilder footnoteBuilder
final int footnoteRow
final Tier.CountCumulate otherNodesCumulate
final int otherNodesRow
final CountNodeW pathNode
final int pathRow
XCastRelation place
final List<CountNodeW> properNodesList
final int properRow
final int sumRow
Tier(CountNodeW _pathNode, CountNodeW node)
Tier(CountNodeW pathNode, CountNodeW crosspathNode, ArrayList<CountNodeW> properNodesList, CountNodeW candidateNode, Count count)
candidateNode
- the count node of the candidate in the downstream tier,
or null if this is a base or orphan tier.CountNodeW getNode(int r)
int lastNodeRow()
void initPlace(CountNodeW specificPathNode, int t, int tN)
t
- the ordinal of this tier, counting from 0 (leftmost).tN
- the number of tiers.int rowCount()