public interface IlvSymbolLocationEditor
getLon()
and getLat()
after closing the dialog.
In a modeless dialog, you register property change listeners at the editor
that receive an event when the edited longitude and latitude change.
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Register a listener for the PropertyChange event.
|
JComponent |
getComponent()
Returns the component of the symbol location editor.
|
double |
getLat()
Returns the latitude of the editor.
|
double |
getLon()
Returns the longitude of the editor.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove a listener for the PropertyChange event.
|
void |
setLat(double lat)
Sets the latitude shown by the editor.
|
void |
setLatLon(double lat,
double lon)
Sets the latitude shown by the editor.
|
void |
setLon(double lon)
Sets the longitude shown by the editor.
|
void setLon(double lon)
lon
- longitude in radians.double getLon()
void setLat(double lat)
lat
- latitude in radians.void setLatLon(double lat, double lon)
lat
- latitude in radians.lon
- longitude in radians.double getLat()
JComponent getComponent()
void addPropertyChangeListener(PropertyChangeListener listener)
listener
- An object to be invoked when a PropertyChange
event is fired.void removePropertyChangeListener(PropertyChangeListener listener)
listener
- The PropertyChange listener to be removed.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.