Package | Description |
---|---|
com.openinventor.inventor.events |
Modifier and Type | Method and Description |
---|---|
static SoControllerButtonEvent.Buttons |
SoControllerButtonEvent.Buttons.fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
SoControllerButtonEvent.Buttons |
SoControllerButtonEvent.getButton()
Get which button generated the event.
|
static SoControllerButtonEvent.Buttons |
SoControllerButtonEvent.Buttons.valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoControllerButtonEvent.Buttons |
SoControllerButtonEvent.Buttons.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoControllerButtonEvent.Buttons[] |
SoControllerButtonEvent.Buttons.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
SoControllerButtonEvent.isButtonPressEvent(SoEvent e,
SoControllerButtonEvent.Buttons whichButton)
Convenience function to see if an
SoEvent is a press of the passed mouse button. |
static boolean |
SoControllerButtonEvent.isButtonReleaseEvent(SoEvent e,
SoControllerButtonEvent.Buttons whichButton)
Convenience function to see if an
SoEvent is a release of the passed mouse button. |
void |
SoControllerButtonEvent.setButton(SoControllerButtonEvent.Buttons b)
Set which button generated the event.
|
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com