java.lang.Object
eu.hansolo.toolboxfx.geom.Location
eu.hansolo.fx.countries.tools.CLocation
public class CLocation
extends eu.hansolo.toolboxfx.geom.Location
-
Property Summary
Properties inherited from class eu.hansolo.toolboxfx.geom.Location
fill, stroke -
Constructor Summary
ConstructorsConstructorDescriptionCLocation(double latitude, double longitude) CLocation(double latitude, double longitude, double altitude, Instant timestamp, String name, String info, javafx.scene.paint.Color fill, javafx.scene.paint.Color stroke) CLocation(double latitude, double longitude, String name, String info, javafx.scene.paint.Color fill) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEvtObserver(eu.hansolo.toolbox.evt.EvtObserver<CountryEvt<CLocation>> observer) voidfireEvt(CountryEvt<CLocation> evt) static CLocationfromPoi(eu.hansolo.toolboxfx.geom.Poi poi) voidremoveEvtObserver(eu.hansolo.toolbox.evt.EvtObserver<CountryEvt<CLocation>> observer) voidset(double latitude, double longitude) voidvoidvoidvoidsetConnectionPartType(ConnectionPartType connectionPartType) voidsetCountry(Country country) voidsetCountry(Optional<Country> country) voidsetOnEvt(eu.hansolo.toolbox.evt.EvtObserver<CountryEvt<CLocation>> observer) eu.hansolo.toolboxfx.geom.PoitoPoi()voidupdate(double latitude, double longitude) Methods inherited from class eu.hansolo.toolboxfx.geom.Location
addLocationObserver, calcBearingInDegree, calcDistanceInKilometer, calcDistanceInMeter, calcDistanceInMeter, dispose, equals, fillProperty, fireLocationEvent, getAccuracy, getAltitude, getAltitudeDifferenceInMeter, getAsPoint, getBearingTo, getBearingTo, getCardinalDirectionFromBearing, getCopy, getDistanceTo, getFill, getId, getInfo, getLatitude, getLocalDateTime, getLocaleDateTime, getLongitude, getMouseEnterHandler, getMouseExitHandler, getMousePressHandler, getMouseReleaseHandler, getName, getStroke, getTimestamp, getTimestampInSeconds, getZoomLevel, hashCode, isWithinRangeOf, isZero, removeAllObservers, removeLocationObserver, set, set, setAccuracy, setAltitude, setFill, setInfo, setLatitude, setLongitude, setMouseEnterHandler, setMouseExitHandler, setMousePressHandler, setMouseReleaseHandler, setName, setStroke, setTimestamp, setZoomLevel, strokeProperty, toString
-
Constructor Details
-
CLocation
public CLocation() -
CLocation
public CLocation(double latitude, double longitude) -
CLocation
-
CLocation
-
CLocation
-
CLocation
-
CLocation
-
CLocation
-
CLocation
-
-
Method Details
-
getCountry
-
setCountry
-
setCountry
-
getConnectionPartType
-
setConnectionPartType
-
update
public void update(double latitude, double longitude) -
set
public void set(double latitude, double longitude) - Overrides:
setin classeu.hansolo.toolboxfx.geom.Location
-
set
- Overrides:
setin classeu.hansolo.toolboxfx.geom.Location
-
set
-
set
-
setOnEvt
-
addEvtObserver
-
removeEvtObserver
-
fireEvt
-
toPoi
public eu.hansolo.toolboxfx.geom.Poi toPoi() -
fromPoi
-