abstract class NodeV extends SVGParaNest<Circle<?>>
Constructor and Description |
---|
NodeV(VotespaceV votespaceV,
int _dartSector)
Constructs a NodeV.
|
Modifier and Type | Method and Description |
---|---|
(package private) int |
dartSector()
The dart sector of this view.
|
(package private) boolean |
isMosquito()
Answers whether this node is to be shown as a "mosquito", because its vote volume
falls below the circle's mosquito bar.
|
(package private) boolean |
isVisible()
Answers whether the SVG component is nominally visible, returning false if the
display style is "none"; true otherwise.
|
(package private) OMSVGGElement |
localView()
The view of the node in itself, separate from any radial line or surrounding
circles of voters.
|
(package private) OMText |
mnemonicTextNode()
A text node that shows the abbreviated username.
|
(package private) CountNodeJS |
model()
The count node on which this view is modelled, or null if none is modelled.
|
(package private) abstract void |
repaintRegister(CountingMethodJS.SwitchMnemonic mCM,
String accountName)
Repaints the view of the superaccount register.
|
(package private) boolean |
setModel(CountNodeJS newModel)
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.
|
(package private) void |
setMosquito(boolean is)
Sets whether this node is to be shown as a "mosquito".
|
void |
setParent(Circle<?> circle)
Sets the parent of this view; and if the parent is not null, simultaneously
appends the SVG component of this view to that of the parent.
|
OMSVGGElement |
svgView()
The wrapped SVG node.
|
(package private) String |
votepath()
The radix 21 votepath from this view.
|
parent
NodeV(VotespaceV votespaceV, int _dartSector)
dartSector()
final int dartSector()
CountNode.dartSector()
final boolean isMosquito()
Circle.mosquitoBar()
final void setMosquito(boolean is)
final boolean isVisible()
svgView()
,
setVisible(boolean)
final OMSVGGElement localView()
svgView()
final CountNodeJS model()
setModel(CountNodeJS)
boolean setModel(CountNodeJS newModel)
IllegalArgumentException
- if the model does not have the same dart
sector as this view.final OMText mnemonicTextNode()
abstract void repaintRegister(CountingMethodJS.SwitchMnemonic mCM, String accountName)
SacJS.accountName()
final String votepath()
public final void setParent(Circle<?> circle)
SVGParaNest
setParent
in class SVGParaNest<Circle<?>>
SVGWrapper.svgView()
public final OMSVGGElement svgView()
SVGWrapper
localView()