package jcgp.backend.resources.parameters; import javafx.beans.property.SimpleIntegerProperty; public abstract class IntegerParameter extends Parameter { public IntegerParameter(int value, String name, boolean monitor, boolean critical) { super(name, monitor, critical); this.valueProperty = new SimpleIntegerProperty(value); } public IntegerParameter(int value, String name) { super(name, false, false); this.valueProperty = new SimpleIntegerProperty(value); } @Override public Integer get() { return super.get().intValue(); } }