Exemplo n.º 1
0
 public void setValueAt(Object aValue, int row, int column) {
   data[row][column] = aValue;
   switch (column) {
     case 0: // code
       jl.setCode((String) aValue);
       break;
     case 4: // type
       jl.setType(JunctionLinkRender.getRoadType((String) aValue));
       break;
     case 5: // length
       try {
         jl.setPathLenght(((Double) aValue).doubleValue());
       } catch (Exception ex) {
       }
       break;
   }
   PSRender.repaint_anywhere();
 }