Uses of Enum Class
com.openinventor.inventor.events.SoMouseButtonEvent.Buttons
Packages that use SoMouseButtonEvent.Buttons
Package
Description
Viewer components contains helpful tools to implement a custom viewer.
-
Uses of SoMouseButtonEvent.Buttons in com.openinventor.inventor.events
Methods in com.openinventor.inventor.events that return SoMouseButtonEvent.ButtonsModifier and TypeMethodDescriptionSoMouseButtonEvent.getButton()Gets which mouse button generated the event.static SoMouseButtonEvent.ButtonsSoMouseButtonEvent.Buttons.valueOf(int val) Returns the enum constant of this type with the specified integer valuestatic SoMouseButtonEvent.ButtonsReturns the enum constant of this class with the specified name.static SoMouseButtonEvent.Buttons[]SoMouseButtonEvent.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 SoMouseButtonEvent.ButtonsModifier and TypeMethodDescriptionstatic booleanSoMouseButtonEvent.isButtonDoubleClickEvent(SoEvent e, SoMouseButtonEvent.Buttons whichButton) Returns whether the passed event is a mouse button double click event of the passed button.static booleanSoMouseButtonEvent.isButtonPressEvent(SoEvent e, SoMouseButtonEvent.Buttons whichButton) Returns whether the passed event is a mouse button press event of the passed button.static booleanSoMouseButtonEvent.isButtonReleaseEvent(SoEvent e, SoMouseButtonEvent.Buttons whichButton) Returns whether the passed event is a mouse button release event of the passed button.voidSoMouseButtonEvent.setButton(SoMouseButtonEvent.Buttons b) Sets which mouse button generated the event. -
Uses of SoMouseButtonEvent.Buttons in com.openinventor.inventor.viewercomponents
Methods in com.openinventor.inventor.viewercomponents with parameters of type SoMouseButtonEvent.ButtonsModifier and TypeMethodDescriptionSoEventBuilder.getMouseDoubleClickEvent(int x, int y, SoMouseButtonEvent.Buttons buttonId, boolean isAltDown, boolean isCtrlDown, boolean isShiftDown) Return anSoMouseButtonEventcorresponding to given parameters.SoEventBuilder.getMousePressEvent(int x, int y, SoMouseButtonEvent.Buttons buttonId, boolean isAltDown, boolean isCtrlDown, boolean isShiftDown) Return anSoMouseButtonEventcorresponding to given parameters.SoEventBuilder.getMouseReleaseEvent(int x, int y, SoMouseButtonEvent.Buttons buttonId, boolean isAltDown, boolean isCtrlDown, boolean isShiftDown) Return anSoMouseButtonEventcorresponding to given parameters. -
Uses of SoMouseButtonEvent.Buttons in com.openinventor.remoteviz.rendering
Methods in com.openinventor.remoteviz.rendering with parameters of type SoMouseButtonEvent.ButtonsModifier and TypeMethodDescriptionbooleanRenderAreaListener.onMouseDoubleClick(RenderArea renderArea, Connection sender, int x, int y, SoMouseButtonEvent.Buttons button) Triggered when a MouseDoubleClick event is received from the client.booleanRenderAreaListener.onMouseDown(RenderArea renderArea, Connection sender, int x, int y, SoMouseButtonEvent.Buttons button) Triggered when a MouseDown event is received from the client.booleanRenderAreaListener.onMouseUp(RenderArea renderArea, Connection sender, int x, int y, SoMouseButtonEvent.Buttons button) Triggered when a MouseUp event is received from the client.