Changeset 12460 in josm for trunk/src/org
- Timestamp:
- 2017-07-09T00:51:45+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/CustomizeColor.java
r11097 r12460 27 27 import org.openstreetmap.josm.tools.ImageProvider; 28 28 29 /** 30 * Action to show a dialog for picking a color. 31 * 32 * By calling this action, the user can choose a color to customize the painting 33 * of a certain {@link GpxLayer} or {@link org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer}. 34 */ 29 35 public class CustomizeColor extends AbstractAction implements LayerAction, MultiLayerAction { 30 36 private final transient List<AbstractProperty<Color>> colors; -
trunk/src/org/openstreetmap/josm/gui/layer/ImageryLayer.java
r12093 r12460 43 43 import org.openstreetmap.josm.tools.Utils; 44 44 45 /** 46 * Abstract base class for background imagery layers ({@link WMSLayer}, {@link TMSLayer}, {@link WMTSLayer}). 47 * 48 * Handles some common tasks, like image filters, image processors, etc. 49 */ 45 50 public abstract class ImageryLayer extends Layer { 46 51 -
trunk/src/org/openstreetmap/josm/gui/layer/JumpToMarkerActions.java
r11519 r12460 16 16 import org.openstreetmap.josm.tools.Shortcut; 17 17 18 /** 19 * Manages actions to jump from one marker to the next for layers that show markers 20 * ({@link org.openstreetmap.josm.gui.layer.geoimage.GeoImageLayer}, 21 * {@link org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer}). 22 * 23 * Registers global multi-key shortcuts and offers actions for the right-click menu of 24 * the layers. 25 */ 18 26 public final class JumpToMarkerActions { 19 27 28 /** 29 * Interface for a layer that displays markers and supports jumping from 30 * one marker to the next. 31 */ 20 32 public interface JumpToMarkerLayer { 33 /** 34 * Jump (move the viewport) to the next marker. 35 */ 21 36 void jumpToNextMarker(); 22 37 38 /** 39 * Jump (move the viewport) to the previous marker. 40 */ 23 41 void jumpToPreviousMarker(); 24 42 } … … 31 49 private static volatile JumpToPreviousMarker jumpToPreviousMarkerAction; 32 50 51 /** 52 * Initialize the actions, register shortcuts. 53 */ 33 54 public static void initialize() { 34 55 jumpToNextMarkerAction = new JumpToNextMarker(null); … … 38 59 } 39 60 61 /** 62 * Unregister the actions. 63 */ 40 64 public static void unregisterActions() { 41 65 MultikeyActionsHandler.getInstance().removeAction(jumpToNextMarkerAction); -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageDisplay.java
r11539 r12460 29 29 import org.openstreetmap.josm.tools.ExifReader; 30 30 31 /** 32 * GUI component to display an image (photograph). 33 * 34 * Offers basic mouse interaction (zoom, drag) and on-screen text. 35 */ 31 36 public class ImageDisplay extends JComponent { 32 37 -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageViewerDialog.java
r11452 r12460 36 36 import org.openstreetmap.josm.tools.date.DateUtils; 37 37 38 /** 39 * Dialog to view and manipulate geo-tagged images from a {@link GeoImageLayer}. 40 */ 38 41 public final class ImageViewerDialog extends ToggleDialog implements LayerChangeListener, ActiveLayerChangeListener { 39 42 -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ThumbsLoader.java
r12340 r12460 23 23 import org.openstreetmap.josm.tools.ExifReader; 24 24 25 /** 26 * Loads thumbnail previews for a list of images from a {@link GeoImageLayer}. 27 * 28 * Thumbnails are loaded in the background and cached on disk for the next session. 29 */ 25 30 public class ThumbsLoader implements Runnable { 26 31 public static final int maxSize = 120; -
trunk/src/org/openstreetmap/josm/gui/preferences/DefaultPreferenceSetting.java
r9665 r12460 2 2 package org.openstreetmap.josm.gui.preferences; 3 3 4 /** 5 * Abstract base class for {@link PreferenceSetting} implementations. 6 * 7 * Handles the flag that indicates if a PreferenceSetting is and expert option 8 * or not. 9 */ 4 10 public abstract class DefaultPreferenceSetting implements PreferenceSetting { 5 11 6 12 private final boolean isExpert; 7 13 14 /** 15 * Constructs a new DefaultPreferenceSetting. 16 * 17 * (Not an expert option by default.) 18 */ 8 19 public DefaultPreferenceSetting() { 9 20 this(false); 10 21 } 11 22 23 /** 24 * Constructs a new DefaultPreferenceSetting. 25 * 26 * @param isExpert true, if it is an expert option 27 */ 12 28 public DefaultPreferenceSetting(boolean isExpert) { 13 29 this.isExpert = isExpert; -
trunk/src/org/openstreetmap/josm/gui/preferences/DefaultTabPreferenceSetting.java
r10593 r12460 13 13 import org.openstreetmap.josm.tools.GBC; 14 14 15 /** 16 * Abstract base class for {@link TabPreferenceSetting} implementations. 17 * 18 * Support for common functionality, like icon, title and adding a tab ({@link SubPreferenceSetting}). 19 */ 15 20 public abstract class DefaultTabPreferenceSetting extends DefaultPreferenceSetting implements TabPreferenceSetting { 16 21 -
trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceDialog.java
r10791 r12460 32 32 import org.openstreetmap.josm.tools.WindowGeometry; 33 33 34 /** 35 * The main preferences dialog. 36 * 37 * Dialog window where the user can change various settings. Organized in main 38 * tabs to the left ({@link TabPreferenceSetting}) and (optional) sub-pages 39 * ({@link SubPreferenceSetting}). 40 */ 34 41 public class PreferenceDialog extends JDialog { 35 42 -
trunk/src/org/openstreetmap/josm/gui/preferences/SourceProvider.java
r10600 r12460 4 4 import java.util.Collection; 5 5 6 /** 7 * Interface for a class that offers a list of {@link SourceEntry}s. 8 * 9 * Used by plugins to offer additional SourceEntrys to the user. 10 */ 6 11 @FunctionalInterface 7 12 public interface SourceProvider { 8 13 14 /** 15 * Get the collection of {@link SourceEntry}s. 16 * @return the collection of {@link SourceEntry}s 17 */ 9 18 Collection<SourceEntry> getSources(); 10 19 }
Note:
See TracChangeset
for help on using the changeset viewer.