java.lang.Object
org.gsusers.gsmv.steps.SynthGroups
SynthGroup manages the generation of synthetic data sets by taking the user step-by-step
through the whole procedure from entering the project summary to
writing the resulting data file. Altogether there are 9 steps,
and proceeding to the next step is only possible after 'grammatically'
correct input. At each step a context specific help screen is available.
As result of the user responses at a given step, the entered data are stored, and the GUI scene
for the next step is generated, and handed via 'main' back to the GUI.
Users can step through the synthesis either manually, by entering the design information
via keyboard and mouse, or they can pick the 'do-over' mode, where the program
reads a control file, prepared in a previous synthesis run. The user just has to enter changes.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSynthGroups
(Nest _nest, gsLogger _logger, GS_Controller _controller, Preferences _prefs, Filer _flr) Constructor -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.Group
getGroup()
This method uses the java 'switch/case' construct to make sure that it constructs the correct scene for a given step, based on the data entered previously.javafx.scene.Group
G_String cycles through 'setSampleSize' until all the sample sizes for all facets (in hierarchical order) have been collected, when the variable 'bDawdle' turns to 'false'.
-
Constructor Details
-
SynthGroups
public SynthGroups(Nest _nest, gsLogger _logger, GS_Controller _controller, Preferences _prefs, Filer _flr) Constructor- Parameters:
_nest
- pointer to Nest_logger
- org.gs_users.gs_lv.GS_Application logger_controller
- pointer to rootLayoutController_prefs
- pointer to Preferences_flr
- pointer to Filer
-
-
Method Details
-
getGroup
public javafx.scene.Group getGroup()This method uses the java 'switch/case' construct to make sure that it constructs the correct scene for a given step, based on the data entered previously. This scene is then handed back to 'main' that passes it to the GUI. The 'popup' call at each step collects ongoing status information, that can be optionally fed to a log file for diagnostic use. At each step 'getGroup' returns a JavaFX Group object, constructed as result of the cumulative information entered. The 'Group' goes to 'Main', where it is packaged into a JavaFX 'Scene', which is then handed to the 'rootLayoutController'. Some steps can generate their 'Group' directly, others need the assistance of further methods contained in this package- Returns:
Group
essentially the 'Scene' to be sent to the GUI
-
setSampleSize
public javafx.scene.Group setSampleSize()G_String cycles through 'setSampleSize' until all the sample sizes for all facets (in hierarchical order) have been collected, when the variable 'bDawdle' turns to 'false'. The actual form is constructed as 'getPage' within 'SampleSizeTree', where the sample sizes are being stored as well.- Returns:
Group
essentially the 'Scene' for setting sample sizes entry to be sent to the GUI
-