示例#1
0
 public void setTurnDistance(int nextTurnDistance) {
   if (RouteInfoWidgetsFactory.distChanged(nextTurnDistance, this.nextTurnDistance)) {
     this.nextTurnDistance = nextTurnDistance;
     updateDistance();
   }
 }
示例#2
0
 public void setDeviatePath(int deviatePath) {
   if (RouteInfoWidgetsFactory.distChanged(deviatePath, this.deviatedPath)) {
     this.deviatedPath = deviatePath;
     updateDistance();
   }
 }