public static final class UiEventModifierParams.Builder
extends java.lang.Object
UiEventModifierParams.
Builders are created by invoking UiEventModifierParams.newBuilder(). Each of the setter methods
modifies the state of the builder and returns the same instance. Builders are not thread-safe
and should not be used concurrently from multiple threads without external synchronization.
| Modifier and Type | Method and Description |
|---|---|
UiEventModifierParams |
build()
Returns a new
UiEventModifierParams instance built from the current state of this
builder. |
UiEventModifierParams.Builder |
eventParams(EventParams eventParams)
Sets the DOM event parameters.
|
UiEventModifierParams.Builder |
keyModifiers(KeyModifiers keyModifiers)
Sets the modifiers for the keyboard and mouse events and indicates which keyboard
modifier keys are pressed.
|
public UiEventModifierParams.Builder eventParams(EventParams eventParams)
eventParams - the DOM event parameterspublic UiEventModifierParams.Builder keyModifiers(KeyModifiers keyModifiers)
keyModifiers - the modifiers for the keyboard and mouse events and indicates which
keyboard modifier keys are pressedpublic UiEventModifierParams build()
UiEventModifierParams instance built from the current state of this
builder.UiEventModifierParams instance