Do you know if there is a method in the Visad package that will remove the
data files from all cells that were loaded in before? ie. I would like to
clear the visualizations that appear in each spread sheet cell after each
generation so I can show a new set of 16 cells. Ideally, I would like all
cells to be cleared without the user having to select each one and then
Michelle Kam (408) 742-2881
Lockheed Martin Space Systems Co. SSM/ATC/MSIS
1111 Lockheed Martin Way, Sunnyvale, CA 94089
From: Curtis Rueden [mailto:curtis@xxxxxxxxxxxxx]
Sent: Friday, June 20, 2003 4:27 PM
To: Kam, Michelle C
Subject: RE: setMaps()?
That would be a good approach, yes. Just make sure
you check which cell triggered each ssCellChanged
event in your VisadAPI.ssCellChanged method.
At 06:21 PM 6/20/2003, you wrote:
>I am going back to my original VisadAPI.java and SpreadSheet.java files and
>adjusting it to load 4 of the small.v5d files at once. In my VisadAPI
>I added the whole VisadAPI class as the argument to addSSCellListener to
>detect changes in only the top left cell as in the code below:
>But if I now want to load the same file into 4 cells in a "for" loop, would
>it make sense to add "this" (the same VisadAPI instance) as the cell
>listener for each of the cells as below or would that cause problems?