Class Actions
- java.lang.Object
-
- uk.ac.qmul.eecs.depic.daw.gui.actions.Actions
-
public class Actions extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
Actions.ScrubType
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description javax.swing.Action
addTrack()
javax.swing.Action
close()
javax.swing.Action
copy()
javax.swing.Action
cut()
javax.swing.Action
exit()
javax.swing.Action
findNextPoint()
javax.swing.Action
findPreviousPoint()
javax.swing.Action
forward()
javax.swing.Action
generatePeaks()
javax.swing.Action
getVoidAction(java.lang.String resource)
javax.swing.Action
insert()
javax.swing.Action
loop()
The loop can be set on and of setting theAction.SELECTED_KEY
, propertyjavax.swing.Action
open()
javax.swing.Action
paste()
javax.swing.Action
pauseHaptics()
javax.swing.Action
play()
javax.swing.Action
properties()
javax.swing.Action
removeSelection()
javax.swing.Action
rew()
javax.swing.Action
rotateHaptics(boolean y)
javax.swing.Action
scrubAction(Actions.ScrubType type)
Returns an action for scrubbing through the current sound wavejavax.swing.Action
showDb()
javax.swing.Action
showHaptics()
javax.swing.Action
startPhantom()
javax.swing.Action
stop()
javax.swing.Action
switchAutomation()
javax.swing.Action
toggleScrub()
javax.swing.Action
zoomIn()
javax.swing.Action
zoomOut()
-
-
-
Constructor Detail
-
Actions
public Actions(MainFrame f)
-
-
Method Detail
-
getVoidAction
public javax.swing.Action getVoidAction(java.lang.String resource)
-
open
public javax.swing.Action open()
-
close
public javax.swing.Action close()
-
properties
public javax.swing.Action properties()
-
exit
public javax.swing.Action exit()
-
zoomIn
public javax.swing.Action zoomIn()
-
zoomOut
public javax.swing.Action zoomOut()
-
showDb
public javax.swing.Action showDb()
-
findNextPoint
public javax.swing.Action findNextPoint()
-
findPreviousPoint
public javax.swing.Action findPreviousPoint()
-
generatePeaks
public javax.swing.Action generatePeaks()
-
cut
public javax.swing.Action cut()
-
paste
public javax.swing.Action paste()
-
copy
public javax.swing.Action copy()
-
insert
public javax.swing.Action insert()
-
play
public javax.swing.Action play()
-
loop
public javax.swing.Action loop()
The loop can be set on and of setting theAction.SELECTED_KEY
, property- Returns:
-
stop
public javax.swing.Action stop()
-
rew
public javax.swing.Action rew()
-
forward
public javax.swing.Action forward()
-
addTrack
public javax.swing.Action addTrack()
-
removeSelection
public javax.swing.Action removeSelection()
-
switchAutomation
public javax.swing.Action switchAutomation()
-
startPhantom
public javax.swing.Action startPhantom()
-
showHaptics
public javax.swing.Action showHaptics()
-
pauseHaptics
public javax.swing.Action pauseHaptics()
-
rotateHaptics
public javax.swing.Action rotateHaptics(boolean y)
-
scrubAction
public javax.swing.Action scrubAction(Actions.ScrubType type)
Returns an action for scrubbing through the current sound wave- Parameters:
determines
- the action effect: forwards scrub forwards iftrue
, backwards idfalse
and stop scrubbing ifnull
- Returns:
- the
Action
instance for scrubbing through the current sound wave. Multiple calls to this methods with the same value offorwards
would return the same object.
-
toggleScrub
public javax.swing.Action toggleScrub()
-
-