source: josm/trunk/src/org/openstreetmap/josm/actions/audio/AudioNextAction.java@ 627

Last change on this file since 627 was 627, checked in by framm, 16 years ago
  • Property svn:eol-style set to native
File size: 604 bytes
Line 
1// License: GPL. Copyright 2007 by Immanuel Scholz and others
2package org.openstreetmap.josm.actions.audio;
3
4import static org.openstreetmap.josm.tools.I18n.tr;
5
6import java.awt.event.ActionEvent;
7import java.awt.event.KeyEvent;
8
9import org.openstreetmap.josm.actions.JosmAction;
10import org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer;
11
12public class AudioNextAction extends JosmAction {
13
14 public AudioNextAction() {
15 super(tr("Next Marker"), "audio-next", tr("Play next marker."), KeyEvent.VK_F8, 0, true);
16 }
17
18 public void actionPerformed(ActionEvent e) {
19 MarkerLayer.playNextMarker();
20 }
21}
Note: See TracBrowser for help on using the repository browser.