コード例 #1
0
 public void load() {
   data =
       new Object[][] {
         {
           jl.getCode(),
           jl,
           jl.firstJunction == null ? null : jl.firstJunction,
           jl.secondJunction == null ? null : jl.secondJunction,
           JunctionLinkRender.getRoadName(jl.getType()),
           new Double(jl.getPathLength())
         }
       };
   /*data=new Object[jl.length][5];
   for(int i=0;i<jl.length;i++){
   data[i][0]=jl[i].getCode();//String
   data[i][1]=jl[i].firstJunc==null?null:Global.getJunction(jl[i].firstJunc);//Junction
   data[i][2]=jl[i].secondJunc==null?null:Global.getJunction(jl[i].secondJunc);//Junction
   data[i][3]=JunctionLinkRender.getRoadName(jl[i].getType());//String
   data[i][4]=new Double (jl[i].getPathLength());//Double
   }
   super.setDataVector(data,names);*/
 }