Skip to content
Snippets Groups Projects
Commit 2172efdc authored by tjc's avatar tjc
Browse files

add vcf panel to print

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@14888 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 02ff4f2e
No related branches found
No related tags found
No related merge requests found
...@@ -96,6 +96,12 @@ public class PrintACT extends ScrollPanel implements Printable ...@@ -96,6 +96,12 @@ public class PrintACT extends ScrollPanel implements Printable
mc.getBamPanelArray()[i].paintComponents(g2d); mc.getBamPanelArray()[i].paintComponents(g2d);
g2d.translate(0,mc.getBamPanelArray()[i].getHeight()); g2d.translate(0,mc.getBamPanelArray()[i].getHeight());
} }
if(mc.getVcfPanelArray()[i].isVisible())
{
mc.getVcfPanelArray()[i].paintComponents(g2d);
g2d.translate(0,mc.getVcfPanelArray()[i].getHeight());
}
} }
mc.getFeatureDisplayArray()[i].paintComponent(g2d); mc.getFeatureDisplayArray()[i].paintComponent(g2d);
...@@ -119,6 +125,12 @@ public class PrintACT extends ScrollPanel implements Printable ...@@ -119,6 +125,12 @@ public class PrintACT extends ScrollPanel implements Printable
mc.getBamPanelArray()[i].paintComponents(g2d); mc.getBamPanelArray()[i].paintComponents(g2d);
g2d.translate(0,mc.getBamPanelArray()[i].getHeight()); g2d.translate(0,mc.getBamPanelArray()[i].getHeight());
} }
if(mc.getVcfPanelArray()[i].isVisible())
{
mc.getVcfPanelArray()[i].paintComponents(g2d);
g2d.translate(0,mc.getVcfPanelArray()[i].getHeight());
}
} }
if(i < mc.getAlignmentViewerArray().length) if(i < mc.getAlignmentViewerArray().length)
...@@ -158,6 +170,9 @@ public class PrintACT extends ScrollPanel implements Printable ...@@ -158,6 +170,9 @@ public class PrintACT extends ScrollPanel implements Printable
if(mc.getBamPanelArray()[i].isVisible()) if(mc.getBamPanelArray()[i].isVisible())
height += mc.getBamPanelArray()[i].getHeight(); height += mc.getBamPanelArray()[i].getHeight();
if(mc.getVcfPanelArray()[i].isVisible())
height += mc.getVcfPanelArray()[i].getHeight();
height += mc.getFeatureDisplayArray()[i].getHeight(); height += mc.getFeatureDisplayArray()[i].getHeight();
if(mc.getFeatureDisplayArray()[i].getWidth() < width) if(mc.getFeatureDisplayArray()[i].getWidth() < width)
width = mc.getFeatureDisplayArray()[i].getWidth(); width = mc.getFeatureDisplayArray()[i].getWidth();
...@@ -379,6 +394,9 @@ public class PrintACT extends ScrollPanel implements Printable ...@@ -379,6 +394,9 @@ public class PrintACT extends ScrollPanel implements Printable
if(mc.getBamPanelArray()[i].isVisible()) if(mc.getBamPanelArray()[i].isVisible())
height += mc.getBamPanelArray()[i].getHeight(); height += mc.getBamPanelArray()[i].getHeight();
if(mc.getVcfPanelArray()[i].isVisible())
height += mc.getVcfPanelArray()[i].getHeight();
height += mc.getFeatureDisplayArray()[i].getHeight(); height += mc.getFeatureDisplayArray()[i].getHeight();
if(mc.getFeatureDisplayArray()[i].getWidth() < width) if(mc.getFeatureDisplayArray()[i].getWidth() < width)
width = mc.getFeatureDisplayArray()[i].getWidth(); width = mc.getFeatureDisplayArray()[i].getWidth();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment