Package | Description |
---|---|
votorola.a.count.gwt |
Interfacing to the count engine from GWT web clients.
|
votorola.s.gwt.mediawiki |
Staging Crossforum Theatre within MediaWiki pages.
|
votorola.s.gwt.scene.vote |
Mapping society along lines of formal assent.
|
votorola.s.gwt.stage.vote |
Voting related props for the stage.
|
Modifier and Type | Field and Description |
---|---|
static JsArray<CountNodeJS> |
CountNodeJS.NULL_BOARD
An array of length 20 filled with
null values.
|
Modifier and Type | Method and Description |
---|---|
(package private) CountNodeJS |
CountJS.cachedOrWireNode(String username,
JsMap<CountNodeJS> wiredNodes)
Returns a count node for the specified user, either fetching it from the cache or
initializing it from the server's response and then caching it.
|
static CountNodeJS |
CountNodeJS.findNode(String name,
JsArray<CountNodeJS> nodes)
Returns the node of the specified name from the array of nodes, or null if there
is no such node.
|
CountNodeJS |
CountNodeEvent.node()
The node concerned in this event.
|
CountNodeJS |
CountJS.NodeRequestRecord.node()
The count node, or null if the request failed.
|
Modifier and Type | Method and Description |
---|---|
JsArray<CountNodeJS> |
CountJS.baseCandidates()
A sparse array of the dart
sectored base candidates.
|
JsArray<CountNodeJS> |
CountNodeJS.voters()
A sparse array of the dart sectored voters, if
known.
|
Modifier and Type | Method and Description |
---|---|
(package private) CountNodeJS |
CountJS.cachedOrWireNode(String username,
JsMap<CountNodeJS> wiredNodes)
Returns a count node for the specified user, either fetching it from the cache or
initializing it from the server's response and then caching it.
|
static CountNodeJS |
CountNodeJS.findNode(String name,
JsArray<CountNodeJS> nodes)
Returns the node of the specified name from the array of nodes, or null if there
is no such node.
|
(package private) void |
CountNodeJS.init(String name,
JsMap<CountNodeJS> wiredNodes,
CountJS count)
Initializes this node from a server response.
|
(package private) void |
CountNodeJS.initVoters(JsArrayString voterNames,
JsMap<CountNodeJS> wiredNodes)
Initializes this node's voters from a server
response.
|
JsonpRequest<CountCache.WAPResponse> |
CountJS.requestNode(String loc,
String username,
AsyncCallback<CountNodeJS> callback)
Requests a node and/or its direct voters from
the remote count engine and caches them.
|
JsonpRequest<CountCache.WAPResponse> |
CountNodeJS.requestVoters(String loc,
AsyncCallback<CountNodeJS> callback)
Requests this node's voters from the count engine.
|
Constructor and Description |
---|
CountJS.NodeRequestRecord(CountNodeJS _node)
Creates a record.
|
CountNodeEvent(CountNodeJS _node)
Creates a CountNodeEvent.
|
Modifier and Type | Method and Description |
---|---|
(package private) CountNodeJS |
DifferenceShadows.anchor()
The count node of the anchoring author complete with voters.
|
(package private) CountNodeJS |
DifferenceShadows.candidate()
The count node of the anchor's candidate complete with her voters, or null if there is no candidate.
|
(package private) CountNodeJS |
ShadowedDiff.node()
The count node of the other (non-anchor) author.
|
Modifier and Type | Method and Description |
---|---|
(package private) JsArray<CountNodeJS> |
DifferenceShadows.peers()
A sparse array of the anchor's dart sectored peers.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
ShadowedDiff.init(String key,
char rel,
int sec,
CountNodeJS node,
String pollName,
boolean isSelectandB)
Completes the construction of this ShadowedDiff.
|
Constructor and Description |
---|
DifferenceShadows(CountJS _count,
CountNodeJS _anchor,
ShadowedDiff[] _voterDiffBoard,
JsArray<CountNodeJS> _peers,
ShadowedDiff[] _peerDiffBoard,
CountNodeJS _candidate,
ShadowedDiff _candidateDiff,
TheatrePage referrer)
Constructs an instance of DifferenceShadows that co-exists permanently with the
stage.
|
Constructor and Description |
---|
DifferenceShadows(CountJS _count,
CountNodeJS _anchor,
ShadowedDiff[] _voterDiffBoard,
JsArray<CountNodeJS> _peers,
ShadowedDiff[] _peerDiffBoard,
CountNodeJS _candidate,
ShadowedDiff _candidateDiff,
TheatrePage referrer)
Constructs an instance of DifferenceShadows that co-exists permanently with the
stage.
|
Modifier and Type | Method and Description |
---|---|
(package private) CountNodeJS |
NodeV.model()
The count node on which this view is modelled, or null if none is modelled.
|
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
CenterNodeV.setModel(CountNodeJS node) |
(package private) boolean |
VoterNodeV.setModel(CountNodeJS node) |
(package private) boolean |
NodeV.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 |
Votespace.syncActorToStage(CountNodeJS _nodeOnVotepath,
String _votepathFromNode)
Prompts the scoping model to set the stage actor if that is wanted.
|
(package private) void |
DartScoping.syncActorToStage(CountNodeJS nodeOnVotepath,
String votepathFromNode)
Prompts this scoping model to set the stage actor if that is wanted.
|
Modifier and Type | Field and Description |
---|---|
(package private) CountNodeJS |
CandidateV.downstream |
Modifier and Type | Method and Description |
---|---|
CountNodeJS |
VoteTrack.anchor()
|
CountNodeJS |
VoteTrack.candidate()
|
CountNodeJS |
VoteTrack.downstream()
|
CountNodeJS |
NodeV.getCountNode()
The count node on which this view is modelled, or null if none is modelled.
|
CountNodeJS |
Board.mosquito()
A node that belongs to this board but lacks a dart sector, or null if no such node
is included here.
|
CountNodeJS |
Board.node(int sector)
Returns the node occupying the specified dart sector, or null if there is none.
|
Modifier and Type | Method and Description |
---|---|
(package private) Holder<CountNodeJS> |
VoteTrack.anchorHolder()
A constant holder for the anchor node.
|
(package private) Holder<CountNodeJS> |
VoteTrack.candidateHolder()
A constant holder for the variable candidate.
|
(package private) Holder<CountNodeJS> |
VoteTrack.downstreamHolder()
A constant holder for the variable downstream node.
|
Modifier and Type | Method and Description |
---|---|
(package private) float |
BoardV.Palette.calculateLength(CountNodeJS node)
Calculates the length of the node view for the specified node.
|
(package private) void |
Board.enable(CountNodeJS _mosquito,
JsArray<CountNodeJS> _nodes,
boolean _isEndBoard)
Enables the board.
|
(package private) void |
PeerBoard.enable(CountNodeJS mosquito,
JsArray<CountNodeJS> nodes,
boolean isEndBoard) |
(package private) boolean |
NodeV.setCountNode(CountNodeJS node)
Sets the count node on which this view is modelled.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
Board.enable(CountNodeJS _mosquito,
JsArray<CountNodeJS> _nodes,
boolean _isEndBoard)
Enables the board.
|
(package private) void |
PeerBoard.enable(CountNodeJS mosquito,
JsArray<CountNodeJS> nodes,
boolean isEndBoard) |
Constructor and Description |
---|
FlowVolumeV(Holder<CountNodeJS> _nodeHolder,
VoteTrackV trackV,
TableCellElement y,
XCastRelation place)
Constructs a FlowVolumeV.
|