Changeset 12377 in josm


Ignore:
Timestamp:
2017-06-09T21:49:40+02:00 (7 years ago)
Author:
michael2402
Message:

See #14794: Document the layer.gpx package

Location:
trunk/src/org/openstreetmap/josm/gui/layer/gpx
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/gpx/CustomizeDrawingAction.java

    r9576 r12377  
    2727import org.openstreetmap.josm.tools.ImageProvider;
    2828
     29/**
     30 * An action that is displayed in the popup menu for the layer to change the drawing of the GPX layer
     31 */
    2932public class CustomizeDrawingAction extends AbstractAction implements LayerAction, MultiLayerAction {
    3033    private transient List<Layer> layers;
    3134
     35    /**
     36     * Create a new {@link CustomizeDrawingAction}
     37     * @param l The layers that should be customized
     38     */
    3239    public CustomizeDrawingAction(List<Layer> l) {
    3340        this();
     
    3542    }
    3643
     44    /**
     45     * Create a new {@link CustomizeDrawingAction}
     46     * @param l The layer that should be customized
     47     */
    3748    public CustomizeDrawingAction(Layer l) {
    3849        this();
  • trunk/src/org/openstreetmap/josm/gui/layer/gpx/DateFilterPanel.java

    r11534 r12377  
    2121import org.openstreetmap.josm.tools.GBC;
    2222
     23/**
     24 * A panel that allows the user to input a date range he wants to filter the GPX data for.
     25 */
    2326public class DateFilterPanel extends JPanel {
    2427    private final DateEditorWithSlider dateFrom = new DateEditorWithSlider(tr("From"));
     
    8689    }
    8790
     91    /**
     92     * Applies the filter that was input by the user to the GPX track
     93     */
    8894    public void applyFilter() {
    8995        t.stop();
     
    114120    }
    115121
     122    /**
     123     * Sets a listener that should be called after the filter was applied
     124     * @param filterAppliedListener The listener to call
     125     */
    116126    public void setFilterAppliedListener(ActionListener filterAppliedListener) {
    117127        this.filterAppliedListener = filterAppliedListener;
  • trunk/src/org/openstreetmap/josm/gui/layer/gpx/ImportImagesAction.java

    r11848 r12377  
    2424import org.openstreetmap.josm.tools.Utils;
    2525
     26/**
     27 * An aciton that imports images along a GPX path
     28 */
    2629public class ImportImagesAction extends AbstractAction {
    2730    private final transient GpxLayer layer;
    2831
     32    /**
     33     * Create a new {@link ImportImagesAction}
     34     * @param layer The layer this action should be for
     35     */
    2936    public ImportImagesAction(final GpxLayer layer) {
    3037        super(tr("Import images"), ImageProvider.get("dialogs/geoimage"));
  • trunk/src/org/openstreetmap/josm/gui/layer/gpx/MarkersFromNamedPointsAction.java

    r12156 r12377  
    1515import org.openstreetmap.josm.tools.ImageProvider;
    1616
     17/**
     18 * An action that converts the named points to a new marker layer
     19 */
    1720public class MarkersFromNamedPointsAction extends AbstractAction {
    1821    private final transient GpxLayer layer;
    1922
     23    /**
     24     * Construct a new {@link MarkersFromNamedPointsAction}
     25     * @param layer The layer this action is for
     26     */
    2027    public MarkersFromNamedPointsAction(final GpxLayer layer) {
    2128        super(tr("Markers From Named Points"), ImageProvider.get("addmarkers"));
Note: See TracChangeset for help on using the changeset viewer.