FontMetrics fm;
int charOffset;
-
+
Map featureColours = new ConcurrentHashMap();
// A higher level for grouping features of a
this.featureColours = frs.featureColours;
this.transparency = frs.transparency;
this.featureOrder = frs.featureOrder;
- if (av != null && av!=fr.av)
+ if (av != null && av != fr.av)
{
// copy over the displayed feature settings
if (fr.av != null)
}
}
}
- }
+ }
}
BufferedImage offscreenImage;
* This is used by the Molecule Viewer and Overview to get the accurate
* colourof the rendered sequence
*/
- public synchronized int findFeatureColour(int initialCol, SequenceI seq, int column)
+ public synchronized int findFeatureColour(int initialCol, SequenceI seq,
+ int column)
{
if (!av.showSequenceFeatures)
{
}
currentColour = null;
- // TODO: non-threadsafe - each rendering thread needs its own instance of the feature renderer - or this should be synchronized.
+ // TODO: non-threadsafe - each rendering thread needs its own instance of
+ // the feature renderer - or this should be synchronized.
offscreenRender = true;
if (offscreenImage != null)
{
minmax = new Hashtable();
}
- AlignmentI alignment=av.getAlignment();
+ AlignmentI alignment = av.getAlignment();
for (int i = 0; i < alignment.getHeight(); i++)
{
SequenceFeature[] features = alignment.getSequenceAt(i)