Hi Curtis,
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
click done.
Thanks,
Michelle
Michelle Kam (408) 742-2881
Lockheed Martin Space Systems Co. SSM/ATC/MSIS
B/153 O/L922
1111 Lockheed Martin Way, Sunnyvale, CA 94089
-----Original Message-----
From: Curtis Rueden [mailto:curtis@xxxxxxxxxxxxx]
Sent: Friday, June 20, 2003 4:27 PM
To: Kam, Michelle C
Subject: RE: setMaps()?
Hi Michelle,
That would be a good approach, yes. Just make sure
you check which cell triggered each ssCellChanged
event in your VisadAPI.ssCellChanged method.
-Curtis
At 06:21 PM 6/20/2003, you wrote:
>Hi Curtis,
>
>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
class,
>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:
>
>mySS.DisplayCells[0][0].addSSCellListener(this);
>
>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?
>
>mySS.DisplayCells[width][height].addSSCellListener(this);
>
>Thanks,
>Michelle