com.kuka.roboticsAPI.uiModel.userKeys
Enum UserKeyAlignment

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

public enum UserKeyAlignment
extends Enum<UserKeyAlignment>

The possible user key alignments.

A user key has a 3x3 grid to place elements. The position of the elements is chosen according to the alignment.


Enum Constant Summary
BottomLeft
          Displays the element at the bottom left of the grid.
BottomMiddle
          Displays the element in the middle of the bottom grid row.
BottomRight
          Displays the element at the bottom right of the grid.
Middle
          Displays the element in the center of the grid.
MiddleLeft
          Displays the element to the left of the middle grid row.
MiddleRight
          Displays the element to the right of the middle grid row.
TopLeft
          Displays the element at the top left of the grid.
TopMiddle
          Displays the element in the middle of the top grid row.
TopRight
          Displays the element at the top right of the grid.
 
Method Summary
static UserKeyAlignment valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UserKeyAlignment[] 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

TopLeft

public static final UserKeyAlignment TopLeft
Displays the element at the top left of the grid.


TopMiddle

public static final UserKeyAlignment TopMiddle
Displays the element in the middle of the top grid row.


TopRight

public static final UserKeyAlignment TopRight
Displays the element at the top right of the grid.


MiddleLeft

public static final UserKeyAlignment MiddleLeft
Displays the element to the left of the middle grid row.


Middle

public static final UserKeyAlignment Middle
Displays the element in the center of the grid.


MiddleRight

public static final UserKeyAlignment MiddleRight
Displays the element to the right of the middle grid row.


BottomLeft

public static final UserKeyAlignment BottomLeft
Displays the element at the bottom left of the grid.


BottomMiddle

public static final UserKeyAlignment BottomMiddle
Displays the element in the middle of the bottom grid row.


BottomRight

public static final UserKeyAlignment BottomRight
Displays the element at the bottom right of the grid.

Method Detail

values

public static UserKeyAlignment[] 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 (UserKeyAlignment c : UserKeyAlignment.values())
    System.out.println(c);

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

valueOf

public static UserKeyAlignment 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.