primaryButtonDown
Sets the flag indicating whether the primary mouse button is down.
- Parameters:
flag
- a new value- Returns:
- this builder
MouseModifiers
.
Builders are created by invoking MouseModifiers.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.
build()
MouseModifiers
instance built from the current state of this
builder.middleButtonDown(boolean flag)
primaryButtonDown(boolean flag)
secondaryButtonDown(boolean flag)
flag
- a new valueflag
- a new valueflag
- a new valueMouseModifiers
instance built from the current state of this
builder.MouseModifiers
instance