Class LedInfo


  • public class LedInfo
    extends java.lang.Object
    Set information regarding the LED effects, such as how many rotations the LEDs should move, the number of times to perform the effect, and so on.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.Map<java.lang.String,​java.lang.Object> ledMap  
    • Constructor Summary

      Constructors 
      Constructor Description
      LedInfo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setColor​(java.lang.String index, java.lang.String color)  
      void setCount​(int count)  
      void setDuration​(int duration)  
      void setPatterRepeats​(int patternRepeats)  
      void setRepeatDelay​(int repaeatDelay)  
      void setRotations​(int rotations)  
      • Methods inherited from class java.lang.Object

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

      • ledMap

        public java.util.Map<java.lang.String,​java.lang.Object> ledMap
    • Constructor Detail

      • LedInfo

        public LedInfo()
    • Method Detail

      • setRotations

        public void setRotations​(int rotations)
      • setCount

        public void setCount​(int count)
      • setDuration

        public void setDuration​(int duration)
      • setRepeatDelay

        public void setRepeatDelay​(int repaeatDelay)
      • setPatterRepeats

        public void setPatterRepeats​(int patternRepeats)
      • setColor

        public void setColor​(java.lang.String index,
                             java.lang.String color)