com.kuka.roboticsAPI.deviceModel
Enum JointEnum

java.lang.Object
  extended by java.lang.Enum<JointEnum>
      extended by com.kuka.roboticsAPI.deviceModel.JointEnum
All Implemented Interfaces:
Serializable, Comparable<JointEnum>

public enum JointEnum
extends Enum<JointEnum>

This type specifies a joint of a motion. This is needed for joint specific programming, where the programmer can set values for a single joint.


Enum Constant Summary
J1
          Joint 1.
J10
          Joint 10.
J11
          Joint 11.
J12
          Joint 12.
J2
          Joint 2.
J3
          Joint 3.
J4
          Joint 4.
J5
          Joint 5.
J6
          Joint 6.
J7
          Joint 7.
J8
          Joint 8.
J9
          Joint 9.
 
Method Summary
 int toInt()
          Gets the internal value for the specific joint.
static JointEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JointEnum[] 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

J1

public static final JointEnum J1
Joint 1.


J2

public static final JointEnum J2
Joint 2.


J3

public static final JointEnum J3
Joint 3.


J4

public static final JointEnum J4
Joint 4.


J5

public static final JointEnum J5
Joint 5.


J6

public static final JointEnum J6
Joint 6.


J7

public static final JointEnum J7
Joint 7.


J8

public static final JointEnum J8
Joint 8.


J9

public static final JointEnum J9
Joint 9.


J10

public static final JointEnum J10
Joint 10.


J11

public static final JointEnum J11
Joint 11.


J12

public static final JointEnum J12
Joint 12.

Method Detail

values

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

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

valueOf

public static JointEnum 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

toInt

public int toInt()
Gets the internal value for the specific joint.

Returns:
The internal value for the specific joint.


Copyright © 2019. All rights reserved.