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.
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, -----Original Message----- From: Curtis Rueden [mailto:curtis@xxxxxxxxxxxxx] Sent: Friday, June 20, 2003 4:27 PM To: User Subject: RE: setMaps()? Hi, 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,
visad
archives: