private BitSet bscol;
+ /*
+ * Overview width in pixels
+ */
private final int w;
+ /*
+ * Overview height in pixels
+ */
private final int h;
public OverviewRenderer(AlignmentViewPanel panel,
columnsToShow = calcColumnsToShow();
}
- Platform.timeCheck(null, Platform.TIME_MARK);
+ // Platform.timeCheck(null, Platform.TIME_MARK);
}
private void nextRow()
private void done()
{
- if (!redraw)
- {
- Platform.timeCheck(
- "overviewrender " + ndone + " pixels row:" + row + " redraw:"
- + redraw,
- Platform.TIME_MARK);
- }
+ // if (!redraw)
+ // {
+// Platform.timeCheck(
+// "overviewrender " + ndone + " pixels row:" + row + " redraw:"
+// + redraw,
+// Platform.TIME_MARK);
+ // }
overlayHiddenRegions();
if (showProgress)
// get details of this alignment row
if (rows.isHidden(alignmentRow))
{
- // BH 2019.09.24 fixes JAL-3440 Java+JavaScript off by one row in
- // height
g2d.fillRect(0, pixelRow, w, endRow - pixelRow);
}
pixelRow = endRow;
return boxHeight;
}
+ /**
+ * Returns the width of the Overview in pixels
+ *
+ * @return
+ */
public int getWidth()
{
return width;
}
+ /**
+ * Returns the height of the Overview in pixels
+ *
+ * @return
+ */
public int getHeight()
{
return sequencesHeight + graphHeight;
}
+ /**
+ * Returns the height of the sequence alignment in the Overview in pixels
+ *
+ * @return
+ */
public int getSequencesHeight()
{
return sequencesHeight;