예제 #1
0
 public boolean setTail(int t, int timestamp, Object source) {
   if (tail.updateValue(t, timestamp, source)) {
     firePropertyChanged(RescueConstants.PROPERTY_TAIL, timestamp, source);
     return true;
   }
   return false;
 }
예제 #2
0
 public boolean setLength(int l, int timestamp, Object source) {
   if (length.updateValue(l, timestamp, source)) {
     firePropertyChanged(RescueConstants.PROPERTY_LENGTH, timestamp, source);
     return true;
   }
   return false;
 }
예제 #3
0
 public boolean setHead(int h, int timestamp, Object source) {
   if (head.updateValue(h, timestamp, source)) {
     firePropertyChanged(RescueConstants.PROPERTY_HEAD, timestamp, source);
     return true;
   }
   return false;
 }
예제 #4
0
 public boolean setLongitude(int l, int timestamp, Object source) {
   if (longitude.updateValue(l, timestamp, source)) {
     firePropertyChanged(RescueConstants.PROPERTY_LONGITUDE, timestamp, source);
     return true;
   }
   return false;
 }
예제 #5
0
 public boolean setStartTime(int s, int timestamp, Object source) {
   if (startTime.updateValue(s, timestamp, source)) {
     firePropertyChanged(RescueConstants.PROPERTY_START_TIME, timestamp, source);
     return true;
   }
   return false;
 }
예제 #6
0
 public boolean setWindDirection(int w, int timestamp, Object source) {
   if (windDirection.updateValue(w, timestamp, source)) {
     firePropertyChanged(RescueConstants.PROPERTY_WIND_DIRECTION, timestamp, source);
     return true;
   }
   return false;
 }
예제 #7
0
 public boolean setWindForce(int w, int timestamp, Object source) {
   if (windForce.updateValue(w, timestamp, source)) {
     firePropertyChanged(RescueConstants.PROPERTY_WIND_FORCE, timestamp, source);
     return true;
   }
   return false;
 }