Class Sequence

  • All Implemented Interfaces:
    Encodable

    public class Sequence
    extends java.lang.Object
    implements Encodable
    A sequence of action objects for a given 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 Interactions, 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 Summary

      Constructors 
      Constructor Description
      Sequence​(InputSource device, int initialLength)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Sequence

        public Sequence​(InputSource device,
                        int initialLength)
    • Method Detail

      • encode

        public java.util.Map<java.lang.String,​java.lang.Object> encode()
        Specified by:
        encode in interface Encodable
      • toJson

        public java.util.Map<java.lang.String,​java.lang.Object> toJson()