public class Sequence extends java.lang.Object implements Encodable
InputSource
for use with the W3C
Action commands. In the spec, an action
is composed of a list of sequences, one per InputSource
. Each of these is composed of
Interaction
s, with the first item in each sequence being executed at the same time, then
the second, and so on, until all interactions in all sequences have been executed.Constructor and Description |
---|
Sequence(InputSource device,
int initialLength) |
Modifier and Type | Method and Description |
---|---|
Sequence |
addAction(Interaction action) |
java.util.Map<java.lang.String,java.lang.Object> |
encode() |
java.util.Map<java.lang.String,java.lang.Object> |
toJson() |
public Sequence(InputSource device, int initialLength)
public Sequence addAction(Interaction action)
public java.util.Map<java.lang.String,java.lang.Object> encode()
public java.util.Map<java.lang.String,java.lang.Object> toJson()