static final class BoardV.Palette extends Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
occupantCount
The count of non-null nodes in the board.
|
(package private) long |
outflowTotal
The total of cast and carried volume for all nodes in the board.
|
(package private) long |
receiveTotal
The total of received volume for all nodes in the board.
|
Constructor and Description |
---|
BoardV.Palette() |
Modifier and Type | Method and Description |
---|---|
(package private) float |
calculateLength(CountNodeJS node)
Calculates the length of the node view for the specified node.
|
(package private) void |
recalibrate(int width,
float protrusion,
boolean isEndBoard)
Recalibrates to new board dimensions.
|
long outflowTotal
int occupantCount
long receiveTotal
BoardV.Palette()
float calculateLength(CountNodeJS node)
void recalibrate(int width, float protrusion, boolean isEndBoard)
width
- the rendered width of the HTML container of the node views.