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


  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: