@Override
public Object getValueAt(int row, int col) {
// System.out.println("getValueAt=" + row + col);
Object value = null;
EnergyTrajectoryLine line = getEnergyTrajectoryLine(row, false);
if (line != null) {
switch (col) {
case 0: // start energy
value = line.getRange().toString();
break;
case 1: // start energy
value = line.getBeginPosition();
break;
case 2: // end energy
value = line.getEndPosition();
break;
case 3: // energy step
value = line.getDelta();
break;
case 4: // step number
value = line.getStepNumber();
break;
case 5: // integration time
value = line.getIntegrationTime();
break;
case 6: // delta constant
value = line.getDeltaConstant();
break;
}
}
return value;
}