X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FAnnotationRowFilter.java;fp=src%2Fjalview%2Fgui%2FAnnotationRowFilter.java;h=c2bf41bc479187990e12fe51f4b930cc59a21399;hb=d5bcc3830eab04e6db816e1c2ad8fce1dc189612;hp=bc5bc54698f3f56de88e4077dd0ad1c0e451f0e8;hpb=3ebdd4e28382e38a181aae1eed71549f603f9025;p=jalview.git diff --git a/src/jalview/gui/AnnotationRowFilter.java b/src/jalview/gui/AnnotationRowFilter.java index bc5bc54..c2bf41b 100644 --- a/src/jalview/gui/AnnotationRowFilter.java +++ b/src/jalview/gui/AnnotationRowFilter.java @@ -93,13 +93,13 @@ public abstract class AnnotationRowFilter extends JPanel /** * Constructor * - * @param av - * @param ap + * @param viewport + * @param alignPanel */ - public AnnotationRowFilter(AlignViewport av, final AlignmentPanel ap) + public AnnotationRowFilter(AlignViewport viewport, final AlignmentPanel alignPanel) { - this.av = av; - this.ap = ap; + this.av = viewport; + this.ap = alignPanel; thresholdValue.addFocusListener(new FocusAdapter() { @Override @@ -159,14 +159,14 @@ public abstract class AnnotationRowFilter extends JPanel }); } - /** - * Builds and returns a list of menu items (display text) for choice of - * annotation. Also builds maps between annotations, their positions in the - * list, and their display labels in the list. - * - * @param isSeqAssociated - * @return - */ +/** + * Builds and returns a list of menu items (display text) for choice of + * annotation. Also builds maps between annotations, their positions in the + * list, and their display labels in the list. + * + * @param isSeqAssociated + * @return + */ public Vector getAnnotationItems(boolean isSeqAssociated) { annotationLabels = new HashMap(); @@ -368,9 +368,9 @@ public abstract class AnnotationRowFilter extends JPanel return currentAnnotation; } - protected void setCurrentAnnotation(AlignmentAnnotation currentAnnotation) + protected void setCurrentAnnotation(AlignmentAnnotation annotation) { - this.currentAnnotation = currentAnnotation; + this.currentAnnotation = annotation; } protected abstract void valueChanged(boolean updateAllAnnotation);