com.kuka.roboticsAPI.uiModel.userKeys
Class UserKeyLEDElement

java.lang.Object
  extended by com.kuka.roboticsAPI.uiModel.userKeys.UserKeyElement
      extended by com.kuka.roboticsAPI.uiModel.userKeys.UserKeyLEDElement

public class UserKeyLEDElement
extends UserKeyElement

A user key LED element contains all information necessary to display an LED on a user key.

This entails information on the position of the LED on the user key display area, the LED color and the LED size.


Constructor Summary
UserKeyLEDElement(com.kuka.roboticsAPI.uiModel.userKeys.UserKeyAlignment position, com.kuka.roboticsAPI.uiModel.userKeys.UserKeyLED led, com.kuka.roboticsAPI.uiModel.userKeys.UserKeyLEDSize size)
          Constructor for a user key LED element.
 
Method Summary
 com.kuka.roboticsAPI.uiModel.userKeys.UserKeyLED getLed()
          Gets the LED.
 com.kuka.roboticsAPI.uiModel.userKeys.UserKeyLEDSize getLedSize()
          Gets the size of the LED.
 
Methods inherited from class com.kuka.roboticsAPI.uiModel.userKeys.UserKeyElement
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserKeyLEDElement

public UserKeyLEDElement(com.kuka.roboticsAPI.uiModel.userKeys.UserKeyAlignment position,
                         com.kuka.roboticsAPI.uiModel.userKeys.UserKeyLED led,
                         com.kuka.roboticsAPI.uiModel.userKeys.UserKeyLEDSize size)
Constructor for a user key LED element.

Parameters:
position - the position on the user key display area. Can not be null.
led - the LED color. Can not be null
size - the LED size. If set to null - size UserKeyLEDSize.Normal will be used.
Method Detail

getLed

public com.kuka.roboticsAPI.uiModel.userKeys.UserKeyLED getLed()
Gets the LED.

Returns:
the LED

getLedSize

public com.kuka.roboticsAPI.uiModel.userKeys.UserKeyLEDSize getLedSize()
Gets the size of the LED.

Returns:
the size


Copyright © 2019. All rights reserved.