Ticket #812: javadoc.patch
| File javadoc.patch, 10.1 KB (added by , 18 years ago) |
|---|
-
src/org/openstreetmap/josm/actions/AlignInCircleAction.java
21 21 import org.openstreetmap.josm.data.osm.Way; 22 22 23 23 /** 24 * Aligns all selected nodes within a circle. (Useful lfor roundabouts)24 * Aligns all selected nodes within a circle. (Useful for roundabouts) 25 25 * 26 26 * @author Matthew Newton 27 27 */ -
src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java
32 32 * 33 33 * The user can click on an object, which get deleted if possible. When Ctrl is 34 34 * pressed when releasing the button, the objects and all its references are 35 * deleted. The exact definition of "all its references" are in 36 * @see #deleteWithReferences(OsmPrimitive)35 * deleted. The exact definition of "all its references" are in 36 * {@link #deleteWithReferences deleteWithReferences}. 37 37 * 38 38 * If the user did not press Ctrl and the object has any references, the user 39 39 * is informed and nothing is deleted. -
src/org/openstreetmap/josm/tools/AudioPlayer.java
139 139 140 140 /** 141 141 * To get the Url of the playing or recently played audio. 142 * @return surl - could be null142 * @return url - could be null 143 143 */ 144 144 public static URL url() { 145 145 return AudioPlayer.get().playingUrl; … … 147 147 148 148 /** 149 149 * Whether or not we are paused. 150 * @return sboolean whether or not paused150 * @return boolean whether or not paused 151 151 */ 152 152 public static boolean paused() { 153 153 return AudioPlayer.get().state == State.PAUSED; … … 155 155 156 156 /** 157 157 * Whether or not we are playing. 158 * @return sboolean whether or not playing158 * @return boolean whether or not playing 159 159 */ 160 160 public static boolean playing() { 161 161 return AudioPlayer.get().state == State.PLAYING; … … 163 163 164 164 /** 165 165 * How far we are through playing, in seconds. 166 * @return sdouble seconds166 * @return double seconds 167 167 */ 168 168 public static double position() { 169 169 return AudioPlayer.get().position; … … 171 171 172 172 /** 173 173 * Speed at which we will play. 174 * @return sdouble, speed multiplier174 * @return double, speed multiplier 175 175 */ 176 176 public static double speed() { 177 177 return AudioPlayer.get().speed; -
src/org/openstreetmap/josm/gui/NavigatableComponent.java
104 104 105 105 /** 106 106 * Return the point on the screen where this Coordinate would be. 107 * @param p ointThe point, where this geopoint would be drawn.107 * @param p The point, where this geopoint would be drawn. 108 108 * @return The point on screen where "point" would be drawn, relative 109 109 * to the own top/left. 110 110 */ … … 116 116 117 117 /** 118 118 * Zoom to the given coordinate. 119 * @param centerX The center x-value (easting) to zoom to. 120 * @param centerY The center y-value (northing) to zoom to. 119 * @param newCenter The center x-value (easting) to zoom to. 121 120 * @param scale The scale to use. 122 121 */ 123 122 public void zoomTo(EastNorth newCenter, double scale) { -
src/org/openstreetmap/josm/gui/SelectionManager.java
106 106 /** 107 107 * Create a new SelectionManager. 108 108 * 109 * @param actionListener The action listener that receives the event when109 * @param selectionEndedListener The action listener that receives the event when 110 110 * the left button is released. 111 111 * @param aspectRatio If true, the selection window must obtain the aspect 112 112 * ratio of the drawComponent. -
src/org/openstreetmap/josm/gui/MapStatus.java
250 250 251 251 /** 252 252 * Construct a new MapStatus and attach it to the map view. 253 * @param m v The MapViewthe status line is part of.253 * @param mapFrame The MapFrame the status line is part of. 254 254 */ 255 255 public MapStatus(final MapFrame mapFrame) { 256 256 this.mv = mapFrame.mapView; -
src/org/openstreetmap/josm/gui/layer/Layer.java
97 97 * @return Whether the other layer can be merged into this layer. 98 98 */ 99 99 abstract public boolean isMergable(Layer other); 100 101 /** 102 * @return The bounding rectangle this layer occupies on screen when looking 103 * at x/y values or <code>null</code>, if infinite area or unknown 104 * area is occupied. 105 */ 100 106 101 abstract public void visitBoundingBox(BoundingXYVisitor v); 107 102 108 103 abstract public Object getInfoComponent(); -
src/org/openstreetmap/josm/gui/layer/markerlayer/Marker.java
176 176 * Returns an object of class Marker or one of its subclasses 177 177 * created from the parameters given. 178 178 * 179 * @param ll lat/lon for marker 180 * @param data hash containing keys and values from the GPX waypoint structure 179 * @param wpt waypoint data for marker 181 180 * @param relativePath An path to use for constructing relative URLs or 182 181 * <code>null</code> for no relative URLs 183 182 * @param offset double in seconds as the time offset of this marker from -
src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerProducers.java
18 18 * Returns a Marker object if this implementation wants to create one for the 19 19 * given input data, or <code>null</code> otherwise. 20 20 * 21 * @param ll lat/lon for the marker position 22 * @param data A map of all tags found in the <wpt> node of the gpx file. 21 * @param wp waypoint data 23 22 * @param relativePath An path to use for constructing relative URLs or 24 23 * <code>null</code> for no relative URLs 25 24 * @return A Marker object, or <code>null</code>. -
src/org/openstreetmap/josm/io/OsmServerObjectReader.java
17 17 public final static String TYPE_NODE = "node"; 18 18 19 19 /** 20 * Method to download single Objects from OSM server. ways, relations, nodes21 * @param id Object ID22 * @param type way node relation20 * Method to download single objects from OSM server. ways, relations, nodes 21 * @param id Object ID 22 * @param type way node relation 23 23 * @param full download with or without child objects 24 * @return 24 * @return the data requested 25 25 * @throws SAXException 26 26 * @throws IOException 27 27 */ 28 public DataSet parseOsm(long id, String type, boolean full) throws SAXException, IOException {28 public DataSet parseOsm(long id, String type, boolean full) throws SAXException, IOException { 29 29 try { 30 30 31 31 Main.pleaseWaitDlg.progress.setValue(0); -
src/org/openstreetmap/josm/io/MyHttpHandler.java
22 22 return openConnection(u, (Proxy) null); 23 23 } 24 24 public MyHttpHandler(String proxy, int port) { 25 proxy = proxy;25 this.proxy = proxy; 26 26 proxyPort = port; 27 27 } 28 28 -
src/org/openstreetmap/josm/data/projection/Projection.java
5 5 import org.openstreetmap.josm.data.coor.LatLon; 6 6 7 7 /** 8 * Classes subclassthis are able to convert lat/lon values to9 * plan ear screen coordinates.8 * Classes implementing this are able to convert lat/lon values to 9 * planar screen coordinates. 10 10 * 11 11 * @author imi 12 12 */ … … 17 17 public static final double MAX_SERVER_PRECISION = 1e12; 18 18 19 19 /** 20 * List of all available Projections.20 * List of all available projections. 21 21 */ 22 22 public static Projection[] allProjections = new Projection[]{ 23 23 new Epsg4326(), -
src/org/openstreetmap/josm/data/gpx/WayPoint.java
32 32 } 33 33 34 34 /** 35 * convert the time stamp of ther waypoint into seconds from the epoch 36 * @return seconds 35 * Convert the time stamp of the waypoint into seconds from the epoch 37 36 */ 38 37 public void setTime () { 39 38 if (! attr.containsKey("time")) {
