Class TouchScreen

java.lang.Object
de.rcblum.stream.deck.device.components.TouchScreen
All Implemented Interfaces:
AnimationListener, StreamKeyListener

public class TouchScreen extends Object implements StreamKeyListener, AnimationListener
  • Constructor Details

    • TouchScreen

      public TouchScreen(int keyId, IStreamDeck streamDeck)
  • Method Details

    • addListener

      public boolean addListener(StreamKeyListener listener)
    • removeListener

      public StreamKeyListener removeListener(StreamKeyListener listener)
    • onKeyEvent

      public void onKeyEvent(KeyEvent event)
      Description copied from interface: StreamKeyListener
      Whenever a key event is triggered this method will be called
      Specified by:
      onKeyEvent in interface StreamKeyListener
      Parameters:
      event -
    • removeTouchScreenAnimation

      public boolean removeTouchScreenAnimation()
    • addTouchScreenAnimation

      public void addTouchScreenAnimation(AnimationStack as)
    • drawTouchScreen

      public void drawTouchScreen(SDImage image)
    • drawTouchScreenSection

      public void drawTouchScreenSection(Point coordinates, SDImage image)
    • onAnimationStart

      public void onAnimationStart(int keyIndex)
      Description copied from interface: AnimationListener
      Called when the animation starts
      Specified by:
      onAnimationStart in interface AnimationListener
      Parameters:
      keyIndex - Index of the key on which the animation is displayed on
    • onAnimationStop

      public void onAnimationStop(int keyIndex)
      Description copied from interface: AnimationListener
      Called when the animation starts
      Specified by:
      onAnimationStop in interface AnimationListener
      Parameters:
      keyIndex - Index of the key on which the animation was displayed on