Changeset 12148 in josm for trunk/src


Ignore:
Timestamp:
2017-05-14T23:12:18+02:00 (8 years ago)
Author:
bastiK
Message:

see #14794 - javadoc

Location:
trunk/src/org/openstreetmap/josm/gui
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/imagery/ReprojectionTile.java

    r11972 r12148  
    6565     * @return true if the tile should be reprojected again from the source image.
    6666     */
    67     public boolean needsUpdate(double currentScale) {
     67    public synchronized boolean needsUpdate(double currentScale) {
    6868        if (Utils.equalsEpsilon(nativeScale, currentScale))
    6969            return false;
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/AbstractProjectionChoice.java

    r11553 r12148  
    88import org.openstreetmap.josm.data.projection.Projections;
    99
     10/**
     11 * Super class for ProjectionChoice implementations.
     12 * <p>
     13 * Handles common parameters <code>name</code>, <code>id</code> and <code>cacheDir</code>.
     14 */
    1015public abstract class AbstractProjectionChoice implements ProjectionChoice {
    1116
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/CustomProjectionChoice.java

    r10627 r12148  
    3434import org.openstreetmap.josm.tools.ImageProvider;
    3535
     36/**
     37 * ProjectionChoice where a CRS can be defined using various parameters.
     38 * <p>
     39 * The configuration string mimics the syntax of the PROJ.4 project and should
     40 * be mostly compatible.
     41 * @see CustomProjection
     42 */
    3643public class CustomProjectionChoice extends AbstractProjectionChoice implements SubPrefsOptions {
    3744
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/GaussKruegerProjectionChoice.java

    r8510 r12148  
    99import org.openstreetmap.josm.Main;
    1010
     11/**
     12 * ProjectionChoice for Gauß-Krüger coordinate system (zones 2-5, EPSG:31466-31469).
     13 * <p>
     14 * @see <a link="https://de.wikipedia.org/wiki/Gauß-Krüger-Koordinatensystem">Gauß-Krüger</a>
     15 */
    1116public class GaussKruegerProjectionChoice extends ListProjectionChoice {
    1217
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/LambertCC9ZonesProjectionChoice.java

    r9992 r12148  
    1515import org.openstreetmap.josm.tools.ImageProvider;
    1616
     17/**
     18 * ProjectionChoice for Lambert CC (9 zones, EPSG:3942-3950).
     19 * <p>
     20 * @see <a link="https://fr.wikipedia.org/wiki/Projection_conique_conforme_de_Lambert#Lambert_zone_CC">Lambert CC</a>
     21 */
    1722public class LambertCC9ZonesProjectionChoice extends ListProjectionChoice {
    1823
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/LambertProjectionChoice.java

    r9992 r12148  
    1515import org.openstreetmap.josm.tools.ImageProvider;
    1616
     17/**
     18 * ProjectionChoice for 4 zone Lambert (1920, EPSG:27561-27564).
     19 * <p>
     20 * @see <a link="https://fr.wikipedia.org/wiki/Projection_conique_conforme_de_Lambert#Lambert_zone">Lambert zone</a>
     21 */
    1722public class LambertProjectionChoice extends ListProjectionChoice {
    1823
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/PuwgProjectionChoice.java

    r8510 r12148  
    99import org.openstreetmap.josm.tools.Utils;
    1010
     11/**
     12 * ProjectionChoice for PUWG 1992 (EPSG:2180) and PUWG 2000 for Poland (Zone 5-8, EPSG:2176-2179).
     13 * <p>
     14 * @see <a link="https://pl.wikipedia.org/wiki/Układ_współrzędnych_1992">PUWG 1992</a>
     15 * @see <a link="https://pl.wikipedia.org/wiki/Układ_współrzędnych_2000">PUWG 2000</a>
     16 */
    1117public class PuwgProjectionChoice extends ListProjectionChoice {
    1218
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/SwissGridProjectionChoice.java

    r7937 r12148  
    1313import org.openstreetmap.josm.tools.GBC;
    1414
     15/**
     16 * ProjectionChoice for Swiss grid, CH1903 / LV03 military coordinates (EPSG:21781).
     17 * <p>
     18 * This is the old system and <b>not</b> CH1903+ from 1995.
     19 * @see <a link="https://en.wikipedia.org/wiki/Swiss_coordinate_system">swiss grid</a>
     20 */
    1521public class SwissGridProjectionChoice extends SingleProjectionChoice {
    1622
     
    2531    public JPanel getPreferencePanel(ActionListener listener) {
    2632        JPanel p = new JPanel(new GridBagLayout());
    27         p.add(new HtmlPanel(tr("<i>CH1903 / LV03 (without local corrections)</i>")), GBC.eol().fill(GBC.HORIZONTAL));
     33        p.add(new HtmlPanel(tr("<i>CH1903 / LV03</i>")), GBC.eol().fill(GBC.HORIZONTAL));
    2834        p.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.BOTH));
    2935        return p;
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/UTMFranceDOMProjectionChoice.java

    r8513 r12148  
    99import org.openstreetmap.josm.Main;
    1010
     11/**
     12 * ProjectionChoice for various French overseas territories (EPSG:2969,2970,2972,2973,2975).
     13 * <p>
     14 * @see <a link="https://fr.wikipedia.org/wiki/Système_de_coordonnées_(cartographie)#Dans_les_d.C3.A9partements_d.27Outre-mer">DOM</a>
     15 */
    1116public class UTMFranceDOMProjectionChoice extends ListProjectionChoice {
    1217
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/UTMProjectionChoice.java

    r11017 r12148  
    1919import org.openstreetmap.josm.tools.GBC;
    2020
     21/**
     22 * ProjectionChoice for UTM.
     23 * <p>
     24 * @see <a link="https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system">UTM</a>
     25 */
    2126public class UTMProjectionChoice extends ListProjectionChoice {
    2227
Note: See TracChangeset for help on using the changeset viewer.