[Biojava-l] Rendering hints and GUI's

Schreiber, Mark mark.schreiber@agresearch.co.nz
Fri, 17 Jan 2003 10:03:52 +1300


Hi -

I have added set and get rendering hints methods to SequencePanel,
SequencePoster and DistributionLogo. TranslatedSequencePanel already has
them.

Anti-aliasing for ever!!

- Mark


> -----Original Message-----
> From: Matthew Pocock [mailto:matthew_pocock@yahoo.co.uk] 
> Sent: Friday, 17 January 2003 5:10 a.m.
> To: Schreiber, Mark
> Cc: biojava-l@biojava.org
> Subject: Re: [Biojava-l] Rendering hints and GUI's
> 
> 
> You could write a thin renderer impl that passes all methods 
> through to 
> a delegate except the drawing method, where it first sets rendering 
> hints. I guess that functionality should realy be in the 
> component that 
> requests the rendering though (i.e. SequencePanel).
> 
> Matthew
> 
> Schreiber, Mark wrote:
> > Hi -
> > 
> > I would like to be able to add RenderingHints to the 
> various renderers 
> > in BioJava. How can I intercept the Graphics object that is 
> passed to 
> > the Renderers paint(Graphics g, SequencePanel sp) method?
> > 
> > I could overide the method to use the RenderingHints before passing 
> > the arguments to super but that seems a bit overkill. Is 
> there another 
> > way?
> > 
> > - Mark
> > 
> > 
> > Mark Schreiber PhD
> > Bioinformatics
> > AgResearch Invermay
> > PO Box 50034
> > Mosgiel
> > New Zealand
> >  
> > PH:   +64 3 489 9175
> > FAX:  +64 3 489 3739
> > 
> > 
> ======================================================================
> > =
> > Attention: The information contained in this message and/or 
> attachments
> > from AgResearch Limited is intended only for the persons or entities
> > to which it is addressed and may contain confidential 
> and/or privileged
> > material. Any review, retransmission, dissemination or 
> other use of, or
> > taking of any action in reliance upon, this information by 
> persons or
> > entities other than the intended recipients is prohibited 
> by AgResearch
> > Limited. If you have received this message in error, please 
> notify the
> > sender immediately.
> > 
> ==============================================================
> =========
> > 
> > _______________________________________________
> > Biojava-l mailing list  -  Biojava-l@biojava.org 
> > http://biojava.org/mailman/listinfo/biojava-l
> > 
> 
> 
> -- 
> BioJava Consulting LTD - Support and training for BioJava 
> http://www.biojava.co.uk
> 
> 
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l@biojava.org 
> http://biojava.org/mailman/listinfo/biojava-l
> 
=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================