|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gswing.components.output.extractor.Extractor
public class Extractor
Purpose: Exports the election database to serialise files that can be read by the Java applet.
Constructor Summary | |
---|---|
Extractor(IFramework framework,
boolean uploadFiles)
Constructor. |
Method Summary | |
---|---|
void |
doExport()
Kick off the export process. |
void |
extract()
Get the election number from the user, get the list of contituencies and get the results for each constituency. |
protected static void |
initialiseLeadership(ListModel regions)
Set up leadership results for populating later when the constituencies are read. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Extractor(IFramework framework, boolean uploadFiles)
framework
- The main framework reference.uploadFiles
- Should files be uploaded to server?Method Detail |
---|
public void doExport()
doExport
in interface IExporter
public void extract()
protected static void initialiseLeadership(ListModel regions)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |