com.kuka.roboticsAPI.uiModel.userKeys
Class UserKeyTextElement

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

public class UserKeyTextElement
extends UserKeyElement

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

This entails information on the position of the text on the user key display area and the text itself.


Constructor Summary
UserKeyTextElement(com.kuka.roboticsAPI.uiModel.userKeys.UserKeyAlignment position, String text)
          Constructor for a user key text element.
 
Method Summary
 String getText()
          Gets the text of the user key.
 
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

UserKeyTextElement

public UserKeyTextElement(com.kuka.roboticsAPI.uiModel.userKeys.UserKeyAlignment position,
                          String text)
Constructor for a user key text element.

Parameters:
position - the position on the user key display area.
text - the text.
Method Detail

getText

public String getText()
Gets the text of the user key.

Returns:
the text


Copyright © 2019. All rights reserved.