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