com.kuka.roboticsAPI.uiModel.userKeys
Enum UserKeyEvent

java.lang.Object
  extended by java.lang.Enum<UserKeyEvent>
      extended by com.kuka.roboticsAPI.uiModel.userKeys.UserKeyEvent
All Implemented Interfaces:
Serializable, Comparable<UserKeyEvent>

public enum UserKeyEvent
extends Enum<UserKeyEvent>

The possible user key events.


Enum Constant Summary
FirstKeyDown
          Event when the first key of a double user key is pressed down.
FirstKeyUp
          Event when the first key of a double user key is released.
KeyDown
          Event when user key is pressed down.
KeyUp
          Event when a user key is released.
SecondKeyDown
          Event when the second key of a double user key is pressed down.
SecondKeyUp
          Event when the second key of a double user key is released.
 
Method Summary
static UserKeyEvent valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UserKeyEvent[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

KeyUp

public static final UserKeyEvent KeyUp
Event when a user key is released.


KeyDown

public static final UserKeyEvent KeyDown
Event when user key is pressed down.


FirstKeyUp

public static final UserKeyEvent FirstKeyUp
Event when the first key of a double user key is released.


FirstKeyDown

public static final UserKeyEvent FirstKeyDown
Event when the first key of a double user key is pressed down.


SecondKeyUp

public static final UserKeyEvent SecondKeyUp
Event when the second key of a double user key is released.


SecondKeyDown

public static final UserKeyEvent SecondKeyDown
Event when the second key of a double user key is pressed down.

Method Detail

values

public static UserKeyEvent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (UserKeyEvent c : UserKeyEvent.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static UserKeyEvent valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2019. All rights reserved.