StaticClickableOption

A menu item that may be clicked by the user.

Constructors

Link copied to clipboard
protected constructor(@NonNull name: String)
constructor(@NonNull name: String, @NonNull onClick: Runnable)
Create a new StaticClickableOption.

Functions

Link copied to clipboard
protected open fun getDisplayText(): String
Link copied to clipboard
protected open fun onClick()
Override this to get notified when the element is clicked

Inherited functions

Link copied to clipboard
protected open fun onLeftInput()
Override this to get notified when the element gets a "left edit" input
Link copied to clipboard
protected open fun onRightInput()
Override this to get notified when the element gets a "right edit" input
Link copied to clipboard
Link copied to clipboard
protected open fun setParent(@NonNull parent: TelemetryMenu.MenuElement)