org.gswing.components.common.gui
Interface IConstituencyBrowsing

All Known Subinterfaces:
IDbReadAccess, IDbWriteAccess
All Known Implementing Classes:
DbReadAccess, DbWriteAccess, ResultsInterface

public interface IConstituencyBrowsing

Defines services for constituency browsing. Each constituency belongs to a region that belongs to a state.


Method Summary
 ListModel getConstituencyList(String parent, char type)
          Get list of constituencies with this parent name.
 ListModel getRegionList()
          Get list of regions in this state.
 String getState()
          Get the state / nation name.
 

Method Detail

getState

String getState()
Get the state / nation name.

Returns:
The state string.

getRegionList

ListModel getRegionList()
Get list of regions in this state.

Returns:
List of region strings.

getConstituencyList

ListModel getConstituencyList(String parent,
                              char type)
Get list of constituencies with this parent name.

Parameters:
parent - The constituency's parent name.
type - The constituency type.
Returns:
List of constituency names.


Copyright © 2008. All Rights Reserved.