public final class InputBindings extends Object
Modifier and Type | Method and Description |
---|---|
static InputBindings |
create()
Creates a new input bindings.
|
int |
getPanActionButton()
Returns mouse button for pan action.
|
int |
getZoomActionModifiers()
Returns InputEvent modifiers of all zoom actions.
|
void |
setPanActionButton(int panActionButton)
Sets mouse button for pan action.
|
void |
setZoomActionModifiers(int zoomActionModifiers)
Sets InputEvent modifiers for all zoom actions.
|
public int getZoomActionModifiers()
public void setZoomActionModifiers(int zoomActionModifiers)
zoomActionModifiers
- the modifierspublic int getPanActionButton()
public void setPanActionButton(int panActionButton)
panActionButton
- MouseEvent button codepublic static InputBindings create()
Built on June 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.