Changeset 8558 in josm for trunk/src/org
- Timestamp:
- 2015-07-01T22:48:39+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/SystemOfMeasurement.java
r8554 r8558 24 24 /** 25 25 * Interface to notify listeners of the change of the system of measurement. 26 * @since 8554 26 27 */ 27 28 public interface SoMChangeListener { … … 74 75 75 76 /** 76 * Removes a global SoM change listener 77 * Removes a global SoM change listener. 77 78 * 78 79 * @param listener the listener. Ignored if null or already absent 80 * @since 8554 79 81 */ 80 82 public static void removeSoMChangeListener(SoMChangeListener listener) { … … 83 85 84 86 /** 85 * Adds a SoM change listener 87 * Adds a SoM change listener. 86 88 * 87 89 * @param listener the listener. Ignored if null or already registered. 90 * @since 8554 88 91 */ 89 92 public static void addSoMChangeListener(SoMChangeListener listener) { … … 102 105 * Returns the current global system of measurement. 103 106 * @return The current system of measurement (metric system by default). 107 * @since 8554 104 108 */ 105 109 public static SystemOfMeasurement getSystemOfMeasurement() { … … 114 118 * @param somKey The system of measurement key. Must be defined in {@link SystemOfMeasurement#ALL_SYSTEMS}. 115 119 * @throws IllegalArgumentException if {@code somKey} is not known 120 * @since 8554 116 121 */ 117 122 public static void setSystemOfMeasurement(String somKey) {
Note:
See TracChangeset
for help on using the changeset viewer.