X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FAnnotationColourChooser.java;fp=src%2Fjalview%2Fgui%2FAnnotationColourChooser.java;h=39cde03cfa1c74723e949c6dafa432b06bda49a2;hb=4d9ad51dc8a445c2f1fb02b997e13bd945fa8ad2;hp=93c9a6b97417238fa902d79bc2130bf6eac28c9f;hpb=bac4802486edabc43143c926c0615f8fb577b1b5;p=jalview.git diff --git a/src/jalview/gui/AnnotationColourChooser.java b/src/jalview/gui/AnnotationColourChooser.java index 93c9a6b..39cde03 100644 --- a/src/jalview/gui/AnnotationColourChooser.java +++ b/src/jalview/gui/AnnotationColourChooser.java @@ -210,7 +210,7 @@ public class AnnotationColourChooser extends AnnotationRowFilter @Override public void actionPerformed(ActionEvent e) { - ok_actionPerformed(e); + ok_actionPerformed(); } }); cancel.setOpaque(false); @@ -220,7 +220,7 @@ public class AnnotationColourChooser extends AnnotationRowFilter @Override public void actionPerformed(ActionEvent e) { - cancel_actionPerformed(e); + cancel_actionPerformed(); } }); defColours.setOpaque(false); @@ -233,7 +233,7 @@ public class AnnotationColourChooser extends AnnotationRowFilter @Override public void actionPerformed(ActionEvent arg0) { - resetColours_actionPerformed(arg0); + resetColours_actionPerformed(); } }); @@ -242,7 +242,7 @@ public class AnnotationColourChooser extends AnnotationRowFilter @Override public void actionPerformed(ActionEvent e) { - annotations_actionPerformed(e); + annotations_actionPerformed(); } }); getThreshold().addActionListener(new ActionListener() @@ -250,7 +250,7 @@ public class AnnotationColourChooser extends AnnotationRowFilter @Override public void actionPerformed(ActionEvent e) { - threshold_actionPerformed(e); + threshold_actionPerformed(); } }); thresholdValue.addActionListener(new ActionListener() @@ -258,7 +258,7 @@ public class AnnotationColourChooser extends AnnotationRowFilter @Override public void actionPerformed(ActionEvent e) { - thresholdValue_actionPerformed(e); + thresholdValue_actionPerformed(); } }); slider.setPaintLabels(false); @@ -278,7 +278,7 @@ public class AnnotationColourChooser extends AnnotationRowFilter @Override public void actionPerformed(ActionEvent e) { - currentColours_actionPerformed(e); + currentColours_actionPerformed(); } }); thresholdIsMin.setBackground(Color.white); @@ -290,7 +290,7 @@ public class AnnotationColourChooser extends AnnotationRowFilter @Override public void actionPerformed(ActionEvent actionEvent) { - thresholdIsMin_actionPerformed(actionEvent); + thresholdIsMin_actionPerformed(); } }); seqAssociated.setBackground(Color.white); @@ -303,7 +303,7 @@ public class AnnotationColourChooser extends AnnotationRowFilter @Override public void actionPerformed(ActionEvent arg0) { - seqAssociated_actionPerformed(arg0, annotations, seqAssociated); + seqAssociated_actionPerformed(annotations); } }); @@ -332,7 +332,7 @@ public class AnnotationColourChooser extends AnnotationRowFilter this.validate(); } - protected void resetColours_actionPerformed(ActionEvent arg0) + protected void resetColours_actionPerformed() { setDefaultMinMax(); updateView(); @@ -372,6 +372,7 @@ public class AnnotationColourChooser extends AnnotationRowFilter updateView(); } + @Override public void reset() { av.setGlobalColourScheme(oldcs); @@ -385,6 +386,7 @@ public class AnnotationColourChooser extends AnnotationRowFilter } } + @Override public void valueChanged(boolean updateAllAnnotation) { if (slider.isEnabled()) @@ -411,7 +413,7 @@ public class AnnotationColourChooser extends AnnotationRowFilter this.threshold = threshold; } - public void currentColours_actionPerformed(ActionEvent e) + public void currentColours_actionPerformed() { if (currentColours.isSelected()) {