import jalview.viewmodel.ViewportListenerI;
import jalview.viewmodel.ViewportRanges;
-import java.awt.AlphaComposite; // ok
+import java.awt.AlphaComposite;
import java.awt.BasicStroke;
import java.awt.BorderLayout;
import java.awt.Color;
final FeatureRenderer fr;
- final SequenceRenderer seqRdr; //ok
+ final SequenceRenderer seqRdr;
BufferedImage img;
{
this.av = ap.av;
fr = new FeatureRenderer(ap);
- seqRdr = new SequenceRenderer(av); //ok
+ seqRdr = new SequenceRenderer(av);
setLayout(new BorderLayout());
PaintRefresher.Register(this, av.getSequenceSetId());
setBackground(Color.white);
public SequenceRenderer getSequenceRenderer()
{
- return seqRdr; //ok
+ return seqRdr;
}
public FeatureRenderer getFeatureRenderer()
}
}
- //ok
/**
* Does a fast paint of an alignment in response to a scroll. Most of the
* visible region is simply copied and shifted, and then any newly visible
*/
public void fastPaint(int horizontal, int vertical)
{
- if (fastpainting || gg == null || img == null) //ok
+ if (fastpainting || gg == null || img == null)
{
return;
}
fastpainting = false;
}
}
- //ok
- //ok
@Override
public void paintComponent(Graphics g)
{
g.drawImage(lcimg, 0, 0, this);
}
}
-//ok
/**
* Draw an alignment panel for printing