Class DawHapticListener
- java.lang.Object
-
- HapticListener
-
- uk.ac.qmul.eecs.depic.daw.haptics.DawHapticListener
-
public class DawHapticListener extends HapticListener
A concrete subclass ofHapticListener
from the jHapticGUI library. It listens to haptic device commands and it executes them in the DAW.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
ADD_SEQ_VAL
static java.lang.String
DROP_SEQ_VAL
static java.lang.String
LINE_TOUCHED
static java.lang.String
MOVE_SEQ_VAL
static java.lang.String
PICK_SEQ_VAL
static java.lang.String
POINT_TOUCHED
static java.lang.String
REM_SEQ_VAL
static java.lang.String
SCRUB_OFF_MSG
static java.lang.String
SCRUB_ON_MSG
static java.lang.String
SCRUB_SHIFT
static boolean
SUPPORT_VIEW_PORT
-
Constructor Summary
Constructors Constructor and Description DawHapticListener(MainFrame frame)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description protected void
fireMessageReceived(Message m)
executes the messages in the Event Dispatching Threadvoid
messageReceived(java.lang.String msg, java.lang.String args, long ID)
void
setGridSound(GridSound gs)
void
setScrubEnabled(boolean enabled)
void
setTrack(AudioTrack track)
-
-
-
Field Detail
-
ADD_SEQ_VAL
public static final java.lang.String ADD_SEQ_VAL
- See Also:
- Constant Field Values
-
DROP_SEQ_VAL
public static final java.lang.String DROP_SEQ_VAL
- See Also:
- Constant Field Values
-
LINE_TOUCHED
public static final java.lang.String LINE_TOUCHED
- See Also:
- Constant Field Values
-
MOVE_SEQ_VAL
public static final java.lang.String MOVE_SEQ_VAL
- See Also:
- Constant Field Values
-
PICK_SEQ_VAL
public static final java.lang.String PICK_SEQ_VAL
- See Also:
- Constant Field Values
-
POINT_TOUCHED
public static final java.lang.String POINT_TOUCHED
- See Also:
- Constant Field Values
-
REM_SEQ_VAL
public static final java.lang.String REM_SEQ_VAL
- See Also:
- Constant Field Values
-
SCRUB_OFF_MSG
public static final java.lang.String SCRUB_OFF_MSG
- See Also:
- Constant Field Values
-
SCRUB_ON_MSG
public static final java.lang.String SCRUB_ON_MSG
- See Also:
- Constant Field Values
-
SCRUB_SHIFT
public static final java.lang.String SCRUB_SHIFT
- See Also:
- Constant Field Values
-
SUPPORT_VIEW_PORT
public static final boolean SUPPORT_VIEW_PORT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DawHapticListener
public DawHapticListener(MainFrame frame)
-
-
Method Detail
-
setGridSound
public void setGridSound(GridSound gs)
-
setScrubEnabled
public void setScrubEnabled(boolean enabled)
-
setTrack
public void setTrack(AudioTrack track)
-
fireMessageReceived
protected void fireMessageReceived(Message m)
executes the messages in the Event Dispatching Thread
-
messageReceived
public void messageReceived(java.lang.String msg, java.lang.String args, long ID)
-
-