diff options
Diffstat (limited to 'src/jcgp/gui/settings')
3 files changed, 6 insertions, 6 deletions
diff --git a/src/jcgp/gui/settings/parameters/GUIBooleanParameter.java b/src/jcgp/gui/settings/parameters/GUIBooleanParameter.java index 29f8e1f..a13a52b 100644 --- a/src/jcgp/gui/settings/parameters/GUIBooleanParameter.java +++ b/src/jcgp/gui/settings/parameters/GUIBooleanParameter.java @@ -22,11 +22,11 @@ public class GUIBooleanParameter extends GUIParameter<Boolean> { private CheckBox checkBox; /** - * This default-visibility constructor is intended for use + * This protected constructor is intended for use * by the factory method only. * */ - GUIBooleanParameter(final BooleanParameter parameter, final SettingsPane sp) { + protected GUIBooleanParameter(BooleanParameter parameter, SettingsPane sp) { super(parameter, sp); } diff --git a/src/jcgp/gui/settings/parameters/GUIDoubleParameter.java b/src/jcgp/gui/settings/parameters/GUIDoubleParameter.java index c3c1f59..9f4ea28 100644 --- a/src/jcgp/gui/settings/parameters/GUIDoubleParameter.java +++ b/src/jcgp/gui/settings/parameters/GUIDoubleParameter.java @@ -7,7 +7,7 @@ import javafx.beans.value.ObservableValue; import javafx.geometry.Pos; import javafx.scene.control.Control; import javafx.scene.control.TextField; -import jcgp.backend.parameters.Parameter; +import jcgp.backend.parameters.DoubleParameter; import jcgp.backend.parameters.ParameterStatus; import jcgp.gui.settings.SettingsPane; @@ -30,7 +30,7 @@ public class GUIDoubleParameter extends GUIParameter<Number> { * by the factory method only. * */ - protected GUIDoubleParameter(Parameter<Number> parameter, SettingsPane sp) { + protected GUIDoubleParameter(DoubleParameter parameter, SettingsPane sp) { super(parameter, sp); } diff --git a/src/jcgp/gui/settings/parameters/GUIIntegerParameter.java b/src/jcgp/gui/settings/parameters/GUIIntegerParameter.java index 5bf6d9c..d36c1b3 100644 --- a/src/jcgp/gui/settings/parameters/GUIIntegerParameter.java +++ b/src/jcgp/gui/settings/parameters/GUIIntegerParameter.java @@ -5,7 +5,7 @@ import javafx.beans.value.ObservableValue; import javafx.geometry.Pos; import javafx.scene.control.Control; import javafx.scene.control.TextField; -import jcgp.backend.parameters.Parameter; +import jcgp.backend.parameters.IntegerParameter; import jcgp.backend.parameters.ParameterStatus; import jcgp.gui.settings.SettingsPane; @@ -27,7 +27,7 @@ public class GUIIntegerParameter extends GUIParameter<Number> { * by the factory method only. * */ - protected GUIIntegerParameter(Parameter<Number> parameter, SettingsPane sp) { + protected GUIIntegerParameter(IntegerParameter parameter, SettingsPane sp) { super(parameter, sp); } |