use of eu.hansolo.tilesfx.events.LocationEvent in project tilesfx by HanSolo.
the class Location method setLatitude.
public void setLatitude(final double LATITUDE) {
latitude = LATITUDE;
fireLocationEvent(new LocationEvent(Location.this));
}
use of eu.hansolo.tilesfx.events.LocationEvent in project tilesfx by HanSolo.
the class Location method setZoomLevel.
public void setZoomLevel(final int LEVEL) {
zoomLevel = clamp(0, 17, LEVEL);
fireLocationEvent(new LocationEvent(Location.this));
}
use of eu.hansolo.tilesfx.events.LocationEvent in project tilesfx by HanSolo.
the class Location method set.
public void set(final Location LOCATION) {
name = LOCATION.getName();
latitude = LOCATION.getLatitude();
longitude = LOCATION.getLongitude();
altitude = LOCATION.getAltitude();
timestamp = LOCATION.getTimestamp();
info = LOCATION.info;
color = LOCATION.getColor();
zoomLevel = LOCATION.getZoomLevel();
fireLocationEvent(new LocationEvent(Location.this));
}
use of eu.hansolo.tilesfx.events.LocationEvent in project tilesfx by HanSolo.
the class Location method setAltitude.
public void setAltitude(final double ALTITUDE) {
altitude = ALTITUDE;
fireLocationEvent(new LocationEvent(Location.this));
}
use of eu.hansolo.tilesfx.events.LocationEvent in project tilesfx by HanSolo.
the class Location method set.
public void set(final double LATITUDE, final double LONGITUDE, final double ALTITUDE, final Instant TIMESTAMP) {
latitude = LATITUDE;
longitude = LONGITUDE;
altitude = ALTITUDE;
timestamp = TIMESTAMP;
fireLocationEvent(new LocationEvent(Location.this));
}
Aggregations