/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2b1)
* Copyright (C) 2014 The Jalview Authors
*
* This file is part of Jalview.
Color textColour = Color.black;
Color textColour2 = Color.white;
- private boolean rightAlignIds = false;
- private AnnotationColumnChooser currentAnnotationColumnSelectionState;
+ private AnnotationColumnChooser annotationColumnSelectionState;
/**
* Creates a new AlignViewport object.
*
setAlignment(al);
if (hiddenColumns != null)
{
- this.colSel = hiddenColumns;
- if (hiddenColumns.getHiddenColumns() != null
- && hiddenColumns.getHiddenColumns().size() > 0)
- {
- hasHiddenColumns = true;
- }
- else
- {
- hasHiddenColumns = false;
- }
+ colSel = hiddenColumns;
}
init();
}
setAlignment(al);
if (hiddenColumns != null)
{
- this.colSel = hiddenColumns;
- if (hiddenColumns.getHiddenColumns() != null
- && hiddenColumns.getHiddenColumns().size() > 0)
- {
- hasHiddenColumns = true;
- }
- else
- {
- hasHiddenColumns = false;
- }
+ colSel = hiddenColumns;
}
init();
}
shownpfeats = show;
}
- /**
- *
- * @return true if view has hidden rows
- */
- public boolean hasHiddenRows()
- {
- return hasHiddenRows;
- }
-
- /**
- *
- * @return true if view has hidden columns
- */
- public boolean hasHiddenColumns()
- {
- return hasHiddenColumns;
- }
/**
* when set, view will scroll to show the highlighted position
this.showAutocalculatedAbove = showAutocalculatedAbove;
}
-
- public boolean isShowAnnotation()
- {
- return super.isShowAnnotation();
- }
-
- public boolean isRightAlignIds()
- {
- return rightAlignIds;
- }
-
- public void setRightAlignIds(boolean rightAlignIds)
- {
- this.rightAlignIds = rightAlignIds;
- }
-
- public AnnotationColumnChooser getCurrentAnnotationColumnSelectionState()
+ public AnnotationColumnChooser getAnnotationColumnSelectionState()
{
- return currentAnnotationColumnSelectionState;
+ return annotationColumnSelectionState;
}
- public void setCurrentAnnotationColumnSelectionState(
+ public void setAnnotationColumnSelectionState(
AnnotationColumnChooser currentAnnotationColumnSelectionState)
{
- this.currentAnnotationColumnSelectionState = currentAnnotationColumnSelectionState;
+ this.annotationColumnSelectionState = currentAnnotationColumnSelectionState;
}
}