public static enum SoSpaceballButtonEvent.Buttons extends java.lang.Enum<SoSpaceballButtonEvent.Buttons> implements IntegerValuedEnum
Enum Constant and Description |
---|
ANY |
BUTTON1
Spaceball button 1.
|
BUTTON2
Spaceball button 2.
|
BUTTON3
Spaceball button 3.
|
BUTTON4
Spaceball button 4.
|
BUTTON5
Spaceball button 5.
|
BUTTON6
Spaceball button 6.
|
BUTTON7
Spaceball button 7.
|
BUTTON8
Spaceball button 8.
|
PICK
Spaceball pick button.
|
Modifier and Type | Method and Description |
---|---|
static SoSpaceballButtonEvent.Buttons |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoSpaceballButtonEvent.Buttons |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoSpaceballButtonEvent.Buttons |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoSpaceballButtonEvent.Buttons[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoSpaceballButtonEvent.Buttons ANY
public static final SoSpaceballButtonEvent.Buttons BUTTON1
public static final SoSpaceballButtonEvent.Buttons BUTTON2
public static final SoSpaceballButtonEvent.Buttons BUTTON3
public static final SoSpaceballButtonEvent.Buttons BUTTON4
public static final SoSpaceballButtonEvent.Buttons BUTTON5
public static final SoSpaceballButtonEvent.Buttons BUTTON6
public static final SoSpaceballButtonEvent.Buttons BUTTON7
public static final SoSpaceballButtonEvent.Buttons BUTTON8
public static final SoSpaceballButtonEvent.Buttons PICK
public static SoSpaceballButtonEvent.Buttons[] values()
for (SoSpaceballButtonEvent.Buttons c : SoSpaceballButtonEvent.Buttons.values()) System.out.println(c);
public static SoSpaceballButtonEvent.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 SoSpaceballButtonEvent.Buttons fromValue(int val)
valueOf(int)
instead.public static SoSpaceballButtonEvent.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