Package | Description |
---|---|
com.openinventor.inventor.events | |
com.openinventor.inventor.viewercomponents |
Viewer components contains helpful tools to implement a custom viewer.
|
com.openinventor.remoteviz.rendering |
|
Modifier and Type | Method and Description |
---|---|
static SoMouseButtonEvent.Buttons |
SoMouseButtonEvent.Buttons.fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
SoMouseButtonEvent.Buttons |
SoMouseButtonEvent.getButton()
Gets which mouse button generated the event.
|
static SoMouseButtonEvent.Buttons |
SoMouseButtonEvent.Buttons.valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoMouseButtonEvent.Buttons |
SoMouseButtonEvent.Buttons.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoMouseButtonEvent.Buttons[] |
SoMouseButtonEvent.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 |
SoMouseButtonEvent.isButtonDoubleClickEvent(SoEvent e,
SoMouseButtonEvent.Buttons whichButton)
Returns whether the passed event is a mouse button double click event of the passed button.
|
static boolean |
SoMouseButtonEvent.isButtonPressEvent(SoEvent e,
SoMouseButtonEvent.Buttons whichButton)
Returns whether the passed event is a mouse button press event of the passed button.
|
static boolean |
SoMouseButtonEvent.isButtonReleaseEvent(SoEvent e,
SoMouseButtonEvent.Buttons whichButton)
Returns whether the passed event is a mouse button release event of the passed button.
|
void |
SoMouseButtonEvent.setButton(SoMouseButtonEvent.Buttons b)
Sets which mouse button generated the event.
|
Modifier and Type | Method and Description |
---|---|
SoMouseButtonEvent |
SoEventBuilder.getMouseDoubleClickEvent(int x,
int y,
SoMouseButtonEvent.Buttons buttonId,
boolean isAltDown,
boolean isCtrlDown,
boolean isShiftDown)
Return an
SoMouseButtonEvent corresponding to given parameters. |
SoMouseButtonEvent |
SoEventBuilder.getMousePressEvent(int x,
int y,
SoMouseButtonEvent.Buttons buttonId,
boolean isAltDown,
boolean isCtrlDown,
boolean isShiftDown)
Return an
SoMouseButtonEvent corresponding to given parameters. |
SoMouseButtonEvent |
SoEventBuilder.getMouseReleaseEvent(int x,
int y,
SoMouseButtonEvent.Buttons buttonId,
boolean isAltDown,
boolean isCtrlDown,
boolean isShiftDown)
Return an
SoMouseButtonEvent corresponding to given parameters. |
Modifier and Type | Method and Description |
---|---|
boolean |
RenderAreaListener.onMouseDoubleClick(RenderArea renderArea,
Connection sender,
int x,
int y,
SoMouseButtonEvent.Buttons button)
Triggered when a MouseDoubleClick event is received from the client.
|
boolean |
RenderAreaListener.onMouseDown(RenderArea renderArea,
Connection sender,
int x,
int y,
SoMouseButtonEvent.Buttons button)
Triggered when a MouseDown event is received from the client.
|
boolean |
RenderAreaListener.onMouseUp(RenderArea renderArea,
Connection sender,
int x,
int y,
SoMouseButtonEvent.Buttons button)
Triggered when a MouseUp event is received from the client.
|
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com