diff options
Diffstat (limited to 'src/jcgp/gui/population/GUIInput.java')
-rw-r--r-- | src/jcgp/gui/population/GUIInput.java | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/jcgp/gui/population/GUIInput.java b/src/jcgp/gui/population/GUIInput.java index 6f7a523..bf872dc 100644 --- a/src/jcgp/gui/population/GUIInput.java +++ b/src/jcgp/gui/population/GUIInput.java @@ -72,15 +72,6 @@ public class GUIInput extends GUIGene { } }); - addEventFilter(MouseDragEvent.MOUSE_DRAG_OVER, new EventHandler<MouseDragEvent>() { - @Override - public void handle(MouseDragEvent event) { - // the user is dragging over this node, react appropriately - // this happens even if we are the source of the drag - - } - }); - addEventFilter(MouseDragEvent.MOUSE_DRAG_EXITED, new EventHandler<MouseDragEvent>() { @Override public void handle(MouseDragEvent event) { @@ -189,5 +180,10 @@ public class GUIInput extends GUIGene { public void resetState() { stateProperty.set(GUIGeneState.NEUTRAL); + } + + @Override + public void setLocked(boolean value) { + locked += value ? 1 : -1; } } |