package jcgp.backend.resources.parameters; import javafx.beans.property.SimpleBooleanProperty; public abstract class BooleanParameter extends Parameter { public BooleanParameter(boolean value, String name, boolean monitor, boolean critical) { super(name, monitor, critical); this.valueProperty = new SimpleBooleanProperty(value); } /** * Simple BooleanParameter constructor, * * * @param value * @param name */ public BooleanParameter(boolean value, String name) { super(name, false, false); this.valueProperty = new SimpleBooleanProperty(value); } }