public static enum SoControllerButtonEvent.Buttons extends java.lang.Enum<SoControllerButtonEvent.Buttons> implements IntegerValuedEnum
Enum Constant and Description |
---|
ANY |
BUTTON1
Controller button 1.
|
BUTTON2
Controller button 2.
|
BUTTON3
Controller button 3.
|
Modifier and Type | Method and Description |
---|---|
static SoControllerButtonEvent.Buttons |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoControllerButtonEvent.Buttons |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoControllerButtonEvent.Buttons |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoControllerButtonEvent.Buttons[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoControllerButtonEvent.Buttons ANY
public static final SoControllerButtonEvent.Buttons BUTTON1
public static final SoControllerButtonEvent.Buttons BUTTON2
public static final SoControllerButtonEvent.Buttons BUTTON3
public static SoControllerButtonEvent.Buttons[] values()
for (SoControllerButtonEvent.Buttons c : SoControllerButtonEvent.Buttons.values()) System.out.println(c);
public static SoControllerButtonEvent.Buttons valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static SoControllerButtonEvent.Buttons fromValue(int val)
valueOf(int)
instead.public static SoControllerButtonEvent.Buttons valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com