[Biojava-l] how to do multi-lined feature display

Patrick McConnell MCCon012 at mc.duke.edu
Tue Apr 1 08:06:40 EST 2003


---------------------- Forwarded by Patrick McConnell/CanCtr/mc/Duke on
04/01/2003 08:05 AM ---------------------------


Patrick McConnell
04/01/2003 08:05 AM

To:    Matthew Pocock <matthew_pocock at yahoo.co.uk>
cc:

Subject:    Re: [Biojava-l] how to do multi-lined feature display
       (Document link: Patrick McConnell)

>I think you just wrap the renderer in an instance of
>PaddingRenderer.

That worked perfectly!  Thanks!

I have been quite impressed with BioJava's visualization capabilities.
Though complex, they are quite useful and flexible.  Good work guys!

-Patrick




Matthew Pocock <matthew_pocock at yahoo.co.uk>@biojava.org on 04/01/2003
07:21:40 AM

Sent by:    biojava-l-bounces at biojava.org


To:    Patrick McConnell <MCCon012 at mc.duke.edu>, Keith James
       <kdj at sanger.ac.uk>
cc:    "biojava-l at biojava.org" <biojava-l at biojava.org>

Subject:    Re: [Biojava-l] how to do multi-lined feature display

 --- Patrick McConnell <MCCon012 at mc.duke.edu> wrote: >

> I am having some problems spacing features out
> vertically with a
> MultiLineRender.  My MultiLineRenderer draws
> directly to the
> HeaderlessContext, and all of the feature blocks are
> bumping against each
> other vertically.  How do I add some padding?

I think you just wrap the renderer in an instance of
PaddingRenderer.

>
> Thanks again!
>
> -Patrick
>
>
>
>
>
> Keith James <kdj at sanger.ac.uk>@biojava.org on
> 03/30/2003 04:57:16 PM
>
> Sent by:    biojava-l-bounces at biojava.org
>
>
> To:    "Patrick McConnell" <MCCon012 at mc.duke.edu>
> cc:    "biojava-l at biojava.org"
> <biojava-l at biojava.org>
>
> Subject:    Re: [Biojava-l] how to do multi-lined
> feature display
>
>
> Sorry about the delay replying - one host I use here
> has been silently
> dropping a lot of my outgoing mail. This is reply is
> regarding
> imagemaps...
>
> There is some imagemap infrastructure in the same
> package as the
> SequenceRenderers which might be some use; see the
> ImageMap interface,
> its ClientSide and ServerSide implementations, the
> HotSpot class
> (which encapsulates coordinates, a URL and an
> optional user Object)
> and the ImageMapRenderer interface.
>
> ImageMapRenderer is a decorator for FeatureRenderer
> which provides a
> method for creating suitable coord Strings. The
> current impls are a
> bit sucky because I haven't had time to factor out
> the common parts of
> the image-drawing and HotSpot-creating code. Right
> now there are
> imagemap renderers for RectangularBeads and Ziggys,
> but it's a bit of
> a pain creating new renderers.
>
> Keith
>
> --
>
> - Keith James <kdj at sanger.ac.uk> bioinformatics
> programming support -
> - Pathogen Sequencing Unit, The Wellcome Trust
> Sanger Institute, UK -
>
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l at biojava.org
> http://biojava.org/mailman/listinfo/biojava-l
>
>
>
>
>
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l at biojava.org
> http://biojava.org/mailman/listinfo/biojava-l

__________________________________________________
Yahoo! Plus
For a better Internet experience
http://www.yahoo.co.uk/btoffer
_______________________________________________
Biojava-l mailing list  -  Biojava-l at biojava.org
http://biojava.org/mailman/listinfo/biojava-l









More information about the Biojava-l mailing list