{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

MouseButton.Companion

@ExperimentalTestApi
public static class MouseButton.Companion


Summary

Public methods

static final @NonNull MouseButton

The primary mouse button.

static final @NonNull MouseButton

The secondary mouse button.

static final @NonNull MouseButton

The tertiary mouse button.

Public methods

getPrimary

public static final @NonNull MouseButton getPrimary()

The primary mouse button. Typically the left mouse button.

getSecondary

public static final @NonNull MouseButton getSecondary()

The secondary mouse button. Typically the right mouse button.

getTertiary

public static final @NonNull MouseButton getTertiary()

The tertiary mouse button. Typically the middle mouse button.