Class TouchScreen
java.lang.Object
de.rcblum.stream.deck.device.components.TouchScreen
- All Implemented Interfaces:
AnimationListener, StreamKeyListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddListener(StreamKeyListener listener) voidvoiddrawTouchScreen(SDImage image) voiddrawTouchScreenSection(Point coordinates, SDImage image) voidonAnimationStart(int keyIndex) Called when the animation startsvoidonAnimationStop(int keyIndex) Called when the animation startsvoidonKeyEvent(KeyEvent event) Whenever a key event is triggered this method will be calledremoveListener(StreamKeyListener listener) boolean
-
Constructor Details
-
TouchScreen
-
-
Method Details
-
addListener
-
removeListener
-
onKeyEvent
Description copied from interface:StreamKeyListenerWhenever a key event is triggered this method will be called- Specified by:
onKeyEventin interfaceStreamKeyListener- Parameters:
event-
-
removeTouchScreenAnimation
public boolean removeTouchScreenAnimation() -
addTouchScreenAnimation
-
drawTouchScreen
-
drawTouchScreenSection
-
onAnimationStart
public void onAnimationStart(int keyIndex) Description copied from interface:AnimationListenerCalled when the animation starts- Specified by:
onAnimationStartin interfaceAnimationListener- Parameters:
keyIndex- Index of the key on which the animation is displayed on
-
onAnimationStop
public void onAnimationStop(int keyIndex) Description copied from interface:AnimationListenerCalled when the animation starts- Specified by:
onAnimationStopin interfaceAnimationListener- Parameters:
keyIndex- Index of the key on which the animation was displayed on
-