[Biojava-l] MultiLineRenderer amd SequencePoster
Thomas Down
td2@sanger.ac.uk
Mon, 7 May 2001 14:54:03 +0100
On Mon, May 07, 2001 at 02:06:18PM +0100, Dr S.M. Huen wrote:
> There seem to be two very similar classes in org.biojava.bio.gui.sequence.
>
> Are there any guidelines as to when each is to be used or will one be
> deprecated eventually?
They're for different purposes. MultiLineRenderer wraps up
a list of renderers (e.g. a SymbolRenderer, a FeatureBlockRenderer,
and a RulerRenderer) as a single renderer, allowing you to build
multi-track displays.
SequencePoster is old code (which may well need a bit of refactoring
by now) for drawing sequence views with a `line wrap' effect. The
use of `line' both for rendering tracks and for line wrapped sequences
is a bit confusing -- maybe we should move towards using `track'
exclusively for the former case.