NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [visad] RE : Re: background area color

  • To: "Omar Bennani" <barhouf@xxxxxxxx>
  • Subject: Re: [visad] RE : Re: background area color
  • From: "Curtis Rueden" <ctrueden@xxxxxxxx>
  • Date: Mon, 14 Jan 2008 15:34:06 -0600
Hi Omar,

You could use a FlatField with a 2x2 Gridded2DSet domain set to put a
colored box somewhere in the display, then place other data objects on
top of it. Is that the sort of thing you're looking for?

-Curtis

On Jan 13, 2008 1:13 PM, Omar Bennani <barhouf@xxxxxxxx> wrote:
> Hi
> My question is to change the color of a part of the
> background and not all of it
> Thanks
> --- Bill Hibbard <hiding@xxxxxxxxx> a écrit :
>
>
> >  Hi Omar,
> >
> >   Can we change the color of an area of the
> > background
> >   of the display ? for example to fill a hole strip
> > in
> >   grey and rest of the background in ti's original
> > color
> >   thanks
> >
> >
> > You can try the setBackgroundColor() method of
> > DisplayRenderer. See the Test53.java and Test54.java
> > classes in the visad/examples/ directory for
> > examples
> > of how to call setBackgroundColor().
> >
> > Good luck,
> > Bill
> >
> > --
> > Got No Time? Shop Online for Great Gift Ideas!
> > http://mail.shopping.com/?linkin_id=8033174
>
> >
> >
>
>
>
>       
> _____________________________________________________________________________
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
> http://mail.yahoo.fr
> _______________________________________________
> visad mailing list
> visad@xxxxxxxxxxxxxxxx
> For list information, to unsubscribe, visit: 
> http://www.unidata.ucar.edu/mailing_lists/
>


  • 2008 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: