public abstract class AudioFastSlowAction extends AbstractAudioAction
AudioFasterAction and AudioSlowerAction.JosmAction.ActiveLayerChangeAdapter, JosmAction.LayerChangeAdapter, JosmAction.SelectionChangeAdapter| Modifier and Type | Field and Description |
|---|---|
private double |
multiplier |
sc| Constructor and Description |
|---|
AudioFastSlowAction(java.lang.String name,
java.lang.String iconName,
java.lang.String tooltip,
Shortcut shortcut,
boolean fast)
Constructs a new
AudioFastSlowAction. |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
isAudioMarkerPresent, updateEnabledStatecheckAndConfirmOutlyingOperation, destroy, getLayerManager, getShortcut, initEnabledState, installAdapters, listenToLayerChange, listenToSelectionChange, setHelpId, setTooltip, updateEnabledState, updateEnabledStateOnCurrentSelection, updateEnabledStateOnCurrentSelection, updateEnabledStateOnModifiableSelection, waitFutureprivate double multiplier
public AudioFastSlowAction(java.lang.String name, java.lang.String iconName, java.lang.String tooltip, Shortcut shortcut, boolean fast)
AudioFastSlowAction.name - the action's text as displayed on the menu (if it is added to a menu)iconName - the filename of the icon to usetooltip - a longer description of the action that will be displayed in the tooltip.shortcut - a ready-created shortcut object.fast - true to increase speed (faster audio), false to decrease it (slower audio).public void actionPerformed(java.awt.event.ActionEvent e)