Changeset 11936 in josm for trunk/src/org
- Timestamp:
- 2017-04-16T21:12:01+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/proj/LambertConformalConic.java
r10378 r11936 27 27 public class LambertConformalConic extends AbstractProj { 28 28 29 /** ellipsoid */ 29 30 protected Ellipsoid ellps; 30 31 31 public abstract static class Parameters { 32 /** 33 * Base class of Lambert Conformal Conic parameters. 34 */ 35 public static class Parameters { 36 /** latitude of origin */ 32 37 public final double latitudeOrigin; 33 38 34 public Parameters(double latitudeOrigin) { 39 /** 40 * Constructs a new {@code Parameters}. 41 * @param latitudeOrigin latitude of origin 42 */ 43 protected Parameters(double latitudeOrigin) { 35 44 this.latitudeOrigin = latitudeOrigin; 36 45 } 37 46 } 38 47 48 /** 49 * Parameters with a single standard parallel. 50 */ 39 51 public static class Parameters1SP extends Parameters { 52 /** 53 * Constructs a new {@code Parameters1SP}. 54 * @param latitudeOrigin latitude of origin 55 */ 40 56 public Parameters1SP(double latitudeOrigin) { 41 57 super(latitudeOrigin); … … 43 59 } 44 60 61 /** 62 * Parameters with two standard parallels. 63 */ 45 64 public static class Parameters2SP extends Parameters { 65 /** first standard parallel */ 46 66 public final double standardParallel1; 67 /** second standard parallel */ 47 68 public final double standardParallel2; 48 69 70 /** 71 * Constructs a new {@code Parameters2SP}. 72 * @param latitudeOrigin latitude of origin 73 * @param standardParallel1 first standard parallel 74 * @param standardParallel2 second standard parallel 75 */ 49 76 public Parameters2SP(double latitudeOrigin, double standardParallel1, double standardParallel2) { 50 77 super(latitudeOrigin); … … 177 204 } 178 205 206 /** 207 * Returns projection parameters. 208 * @return projection parameters 209 */ 179 210 public final Parameters getParameters() { 180 211 return params; -
trunk/src/org/openstreetmap/josm/gui/widgets/MultiSplitLayout.java
r10749 r11936 831 831 * Base class for the nodes that model a MultiSplitLayout. 832 832 */ 833 public abstractstatic class Node {833 public static class Node { 834 834 private Split parent; 835 835 private Rectangle bounds = new Rectangle(); 836 836 private double weight; 837 838 /** 839 * Constructs a new {@code Node}. 840 */ 841 protected Node() { 842 // Default constructor for subclasses only 843 } 837 844 838 845 /**
Note:
See TracChangeset
for help on using the changeset viewer.