blob: d29851ebb52613d48f0f880f88e9e0ea08b15458 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
package jcgp.gui.population;
import javafx.scene.paint.Paint;
import jcgp.backend.population.Input;
import jcgp.gui.constants.Constants;
/**
*
*
* @author Eduardo Pedroni
*
*/
public class GUIInput extends GUIGene {
/**
* @param input
*/
public GUIInput(final Input input) {
super();
}
@Override
public void mouseEnter() {
mainCircle.setFill(Paint.valueOf(Constants.SOFT_HIGHLIGHT_COLOUR));
}
@Override
public void mouseExit() {
mainCircle.setFill(Paint.valueOf(Constants.NEUTRAL_COLOUR));
}
}
|