OptionElement

abstract class OptionElement : TelemetryMenu.Element

An option that has interactivity with the user.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
protected open fun onClick()
Override this to get notified when the element is clicked
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

Inherited functions

Link copied to clipboard
protected abstract fun getDisplayText(): String
Link copied to clipboard
protected open fun parent(): TelemetryMenu.MenuElement
Link copied to clipboard
protected open fun setParent(parent: TelemetryMenu.MenuElement)