public abstract class AudioFastSlowAction extends JosmAction
AudioFasterAction and AudioSlowerAction.| 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) |
destroy, getCurrentDataSet, getEditLayer, getShortcut, initEnabledState, installAdapters, setTooltip, updateEnabledState, updateEnabledStateprivate 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)