|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISelectionSource
Constituency navigation selection source.
| Method Summary | |
|---|---|
char |
getCurrentType()
Get the current search level type. |
String |
getNation()
Get the state / nation of the results. |
char |
getSearchType()
Get the search type. |
void |
setSearchType(char type)
Set the seach type. |
void |
show(String constituency,
char type,
String parent)
Display result. |
void |
showConstituencyList(String constituency,
char type)
Show constituency list. |
boolean |
showCouncilForLocal()
This defines if the selection source wishes to show council results (for example overall results) when local results have been selected. |
| Method Detail |
|---|
char getCurrentType()
void setSearchType(char type)
type - The search type. Options: Result.NATION,
Result.REGIONAL, Result.CONSTITUENCY, Result.COUNCIL or
Result.LOCAL char getSearchType()
void show(String constituency,
char type,
String parent)
constituency - The constituency name.type - The search type. Options: Result.NATION,
Result.REGIONAL, Result.CONSTITUENCY, Result.COUNCIL or
Result.LOCAL parent - Parent constituency.
void showConstituencyList(String constituency,
char type)
constituency - Constituency to display.type - The search type. Options: Result.NATION,
Result.REGIONAL, Result.CONSTITUENCY, Result.COUNCIL or
Result.LOCAL String getNation()
boolean showCouncilForLocal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||