>>>>> "Patrick" == Patrick McConnell <[EMAIL PROTECTED]> writes:
Patrick> Using the imagemap infrastructure works really well.
Patrick> Thanks! It tooks some time figuring out how to hook
Patrick> together all of the renderers, but I attribute that to my
Patrick> lack of experience with BioJava.
Glad you like it. I did put it together in a hurry to solve an inhouse
problem, so it could do with a little rationalisation, not to mention
examples! I really /do/ mean to add this to the main docs.
Patrick> I noticed that the ImapRenderer takes a URLFactory for
Patrick> mapping URLs to hotspots. URLs are somewhat too
Patrick> restrictive here because URL's do not allow for relative
Patrick> links, internal links (via #), or javascript. I think a
Patrick> String is more suitable. That being said, you can get
Patrick> around this simply by constructing the URL when you print
Patrick> your image map out instead of during image rendering.
That's a valid point. I'll look into changing this. It would just need
another constructor to allow a different factory to be supplied
(LinkFactory or something with a more sensible name...).
Keith
--
- Keith James <[EMAIL PROTECTED]> bioinformatics programming support -
- Pathogen Sequencing Unit, The Wellcome Trust Sanger Institute, UK -
_______________________________________________
Biojava-l mailing list - [EMAIL PROTECTED]
http://biojava.org/mailman/listinfo/biojava-l