diff options
Diffstat (limited to 'src/jcgp/gui/population/ChromosomePane.java')
-rw-r--r-- | src/jcgp/gui/population/ChromosomePane.java | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/src/jcgp/gui/population/ChromosomePane.java b/src/jcgp/gui/population/ChromosomePane.java index 0c7b3d2..7fa8a54 100644 --- a/src/jcgp/gui/population/ChromosomePane.java +++ b/src/jcgp/gui/population/ChromosomePane.java @@ -28,6 +28,8 @@ public class ChromosomePane extends ScrollPane { super(); connectionLines = new ArrayList<Line>(); + //setMouseTransparent(true); + content = new Pane(); content.setId("content pane for genes"); @@ -82,19 +84,6 @@ public class ChromosomePane extends ScrollPane { setContent(content); } - -// public GUINode getGuiNode(int row, int column) { -// return guiNodes[row][column]; -// } -// -// public GUIInput getGuiInput(int index) { -// return guiInputs[index]; -// } -// -// public GUIOutput getGuiOutput(int index) { -// return guiOutputs[index]; -// } - public GUIGene getGuiGene(Connection gene) { if (gene instanceof Input) { return guiInputs[((Input) gene).getIndex()]; @@ -107,11 +96,6 @@ public class ChromosomePane extends ScrollPane { } - public Pane getContentPane() { - return content; - } - - public boolean isTarget() { return target; } @@ -119,5 +103,4 @@ public class ChromosomePane extends ScrollPane { public void setTarget(boolean newValue) { target = newValue; } - } |