public final class PeerBoard extends Board
Constructor and Description |
---|
PeerBoard(VoteTrack track)
Constructs a PeerBoard.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
enable(CountNodeJS mosquito,
JsArray<CountNodeJS> nodes,
boolean isEndBoard)
Enables the board.
|
void enable(CountNodeJS mosquito, JsArray<CountNodeJS> nodes, boolean isEndBoard)
Board
enable
in class Board
mosquito
- the mosquito, or null to retain the current mosquito. Once the
peer board is enabled with a mosquito, it cannot be re-enabled without one; the
mosquito can only be replaced by another. This is to allow a mosquito that is
unstaged (e.g. when its node view is deselected) to easily be restaged.nodes
- the backing for the nodes, or null if
all nodes are null.Board.isEnabled()
,
Board.isEndBoard()