예제 #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();
   }
 }