Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: Display of two objects

Hi Lourena,

At 05:44 AM 11/7/2003, Bill Hibbard wrote:
>Just pass each Data object to the setData() method of
>a different DataReferenceImpl, and pass those to the
>addReference() methods of a single DisplayImpl. I am
>not sure how to do this with SpreadSheet cells.

Each SpreadSheet cell supports multiple data objects
simultaneously. The API provides several methods
depending on your needs:
   BasicSSCell.addData(Data)
   BasicSSCell.addDataSource(String)
   BasicSSCell.addDataReference(DataReferenceImpl)
and others. Check the visad.ss JavaDoc for more info.

-Curtis


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