Uses of Enum Class
com.openinventor.inventor.events.SoControllerButtonEvent.Buttons
Packages that use SoControllerButtonEvent.Buttons
-
Uses of SoControllerButtonEvent.Buttons in com.openinventor.inventor.events
Methods in com.openinventor.inventor.events that return SoControllerButtonEvent.ButtonsModifier and TypeMethodDescriptionSoControllerButtonEvent.getButton()
Get which button generated the event.SoControllerButtonEvent.Buttons.valueOf
(int val) Returns the enum constant of this type with the specified integer valueReturns the enum constant of this class with the specified name.static SoControllerButtonEvent.Buttons[]
SoControllerButtonEvent.Buttons.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.openinventor.inventor.events with parameters of type SoControllerButtonEvent.ButtonsModifier and TypeMethodDescriptionstatic boolean
SoControllerButtonEvent.isButtonPressEvent
(SoEvent e, SoControllerButtonEvent.Buttons whichButton) Convenience function to see if anSoEvent
is a press of the passed mouse button.static boolean
SoControllerButtonEvent.isButtonReleaseEvent
(SoEvent e, SoControllerButtonEvent.Buttons whichButton) Convenience function to see if anSoEvent
is a release of the passed mouse button.void
SoControllerButtonEvent.setButton
(SoControllerButtonEvent.Buttons b) Set which button generated the event.