|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gswing.components.common.Entry
org.gswing.components.common.ListEntry
public class ListEntry
Purpose: Represents an election list result entry.
Constructor Summary | |
---|---|
ListEntry(Election election,
Party party,
int votes)
Construcor. |
Method Summary | |
---|---|
String |
getParticipant()
Get the contest particapant. |
Party |
getParty()
Get the party object. |
String |
getPartyName()
Get the candidate details. |
Methods inherited from class org.gswing.components.common.Entry |
---|
compareTo, getElection, getPercentage, getPosition, getVotes, incrementPosition, setPercentage, setVotes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListEntry(Election election, Party party, int votes)
election
- The election this entry is part of.party
- The party details.votes
- The number of votes for this candidate.Method Detail |
---|
public String getPartyName()
getPartyName
in class Entry
public Party getParty()
getParty
in class Entry
public String getParticipant()
getParticipant
in class Entry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |