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: 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: