source: josm/trunk/src/org/openstreetmap/josm/actions/audio/AudioSlowerAction.java@ 12879

Last change on this file since 12879 was 6380, checked in by Don-vip, 11 years ago

update license/copyright information

  • Property svn:eol-style set to native
File size: 932 bytes
RevLine 
[6380]1// License: GPL. For details, see LICENSE file.
[626]2package org.openstreetmap.josm.actions.audio;
3
[3754]4import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
[626]5import static org.openstreetmap.josm.tools.I18n.tr;
[2842]6import static org.openstreetmap.josm.tools.I18n.trc;
[626]7
8import java.awt.event.KeyEvent;
[2017]9
[1084]10import org.openstreetmap.josm.tools.Shortcut;
[626]11
[5871]12/**
13 * Decrease the speed of audio playback.
[6069]14 * Each use decreases the speed further until one of the other controls is used.
[5871]15 * @since 563
16 */
[563]17public class AudioSlowerAction extends AudioFastSlowAction {
[1023]18
[5871]19 /**
20 * Constructs a new {@code AudioSlowerAction}.
21 */
[1169]22 public AudioSlowerAction() {
[2857]23 super(trc("audio", "Slower"), "audio-slower", trc("audio", "Slower Forward"),
[5871]24 Shortcut.registerShortcut("audio:slower", tr("Audio: {0}", trc("audio", "Slower")), KeyEvent.VK_F4, Shortcut.DIRECT), false);
[3754]25 this.putValue("help", ht("/Action/AudioSlower"));
[1169]26 }
[626]27}
Note: See TracBrowser for help on using the repository browser.