aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/backend/resources/parameters/BooleanParameter.java
blob: cc74a64986e62d7401213e843d0b876496ce0a77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package jcgp.backend.resources.parameters;

import javafx.beans.property.SimpleBooleanProperty;

public abstract class BooleanParameter extends Parameter<Boolean> {
		
	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);
	}
}