Beispiel #1
0
 public void setLatLon(LatLonPoint latLon) {
   if (shouldNotify && !this.latLon.equals(latLon))
     HistoryListModel.getInstance()
         .addModel(new HistoryModel("setLatLon", "Lat/Lon", "", this, latLon, this.latLon));
   firePropertyChange("latLon", this.latLon, latLon);
   this.latLon = latLon;
 }
Beispiel #2
0
 public void setIdent(String ident) {
   if (shouldNotify && !this.ident.equals(ident))
     HistoryListModel.getInstance()
         .addModel(new HistoryModel("setIdent", "Ident", "", this, ident, this.ident));
   firePropertyChange("ident", this.ident, ident);
   this.ident = ident;
 }
Beispiel #3
0
 public void setMagvar(float magvar) {
   if (shouldNotify && this.magvar != magvar)
     HistoryListModel.getInstance()
         .addModel(
             new HistoryModel(
                 "setMagvar", "Magvar", "", this, new Float(magvar), new Float(this.magvar)));
   this.magvar = magvar;
 }
Beispiel #4
0
 public void setAlt(double alt) {
   if (shouldNotify && this.alt != alt)
     HistoryListModel.getInstance()
         .addModel(
             new HistoryModel(
                 "setAlt", "Altitude", "", this, new Double(alt), new Double(this.alt)));
   this.alt = alt;
 }
Beispiel #5
0
 public void setAltMeasure(String altMeasure) {
   if (shouldNotify && !this.altMeasure.equals(altMeasure))
     HistoryListModel.getInstance()
         .addModel(
             new HistoryModel(
                 "setAltMeasure", "Altitude Measure", "", this, altMeasure, this.altMeasure));
   this.altMeasure = altMeasure;
 }
Beispiel #6
0
 public void setTrafficScalar(float trafficScalar) {
   if (shouldNotify && this.trafficScalar != trafficScalar)
     HistoryListModel.getInstance()
         .addModel(
             new HistoryModel(
                 "setTrafficScalar",
                 "Traffic Scalar",
                 "",
                 this,
                 new Float(trafficScalar),
                 new Float(this.trafficScalar)));
   this.trafficScalar = trafficScalar;
 }
Beispiel #7
0
 public void setAirportTestRadiusMeasure(String airportTestRadiusMeasure) {
   if (shouldNotify && !this.airportTestRadiusMeasure.equals(airportTestRadiusMeasure))
     HistoryListModel.getInstance()
         .addModel(
             new HistoryModel(
                 "setAirportTestRadiusMeasure",
                 "Airport Test Radius Measure",
                 "",
                 this,
                 airportTestRadiusMeasure,
                 this.airportTestRadiusMeasure));
   this.airportTestRadiusMeasure = airportTestRadiusMeasure;
 }
Beispiel #8
0
 public void setAirportTestRadius(double airportTestRadius) {
   if (shouldNotify && this.airportTestRadius != airportTestRadius)
     HistoryListModel.getInstance()
         .addModel(
             new HistoryModel(
                 "setAirportTestRadius",
                 "Airport Test Radius",
                 "",
                 this,
                 new Double(airportTestRadius),
                 new Double(this.airportTestRadius)));
   this.airportTestRadius = airportTestRadius;
 }
Beispiel #9
0
 public void setName(String name) {
   if (shouldNotify && !this.name.equals(name))
     HistoryListModel.getInstance()
         .addModel(new HistoryModel("setName", "Name", "", this, name, this.name));
   this.name = name;
 }
Beispiel #10
0
 public void setCity(String city) {
   if (shouldNotify && !this.city.equals(city))
     HistoryListModel.getInstance()
         .addModel(new HistoryModel("setCity", "City", "", this, city, this.city));
   this.city = city;
 }
Beispiel #11
0
 public void setState(String state) {
   if (shouldNotify && !this.state.equals(state))
     HistoryListModel.getInstance()
         .addModel(new HistoryModel("setState", "State", "", this, state, this.state));
   this.state = state;
 }
Beispiel #12
0
 public void setCountry(String country) {
   if (shouldNotify && !this.country.equals(country))
     HistoryListModel.getInstance()
         .addModel(new HistoryModel("setCountry", "Country", "", this, country, this.country));
   this.country = country;
 }
Beispiel #13
0
 public void setRegion(String region) {
   if (shouldNotify && !this.region.equals(region))
     HistoryListModel.getInstance()
         .addModel(new HistoryModel("setRegion", "Region", "", this, region, this.region));
   this.region = region;
 }