final class VoterNodeV extends NodeV
| Modifier and Type | Field and Description |
|---|---|
(package private) static float |
INTER_VOTER_ANGLE
The angle between voter nodes within the circle.
|
| Constructor and Description |
|---|
VoterNodeV(VotespaceV vV,
int dartSector,
Circle<?> parent)
Constructs a VoterNodeV.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static float |
angleToNode(int dartSector)
Calculates the angle of the voter node at the specified dart sector.
|
(package private) void |
repaintRegister(CountingMethodJS.SwitchMnemonic mCM,
String accountName)
Repaints the view of the superaccount register.
|
(package private) boolean |
setModel(CountNodeJS node)
Sets the count node on which this view is modelled, and adjusts rotation,
styles and other view properties to match the current ancestry of the node.
|
dartSector, isMosquito, isVisible, localView, mnemonicTextNode, model, setMosquito, setParent, svgView, votepathparentstatic final float INTER_VOTER_ANGLE
VoterNodeV(VotespaceV vV, int dartSector, Circle<?> parent)
parent - the parent circle to be set by the caller. It must
never be changed.NodeV.dartSector()static float angleToNode(int dartSector)
CountNode.dartSector()void repaintRegister(CountingMethodJS.SwitchMnemonic mCM, String accountName)
NodeVrepaintRegister in class NodeVSacJS.accountName()boolean setModel(CountNodeJS node)
NodeV