IntegerOption

A menu item backed by a range of ints.

Constructors

Link copied to clipboard
constructor(@NonNull name: String, min: Int, max: Int, def: Int)
Create a new IntegerOption.

Properties

Link copied to clipboard
protected open var i: Int
Link copied to clipboard
protected open var max: Int
Link copied to clipboard
protected open var min: Int
Link copied to clipboard
protected open var name: String

Functions

Link copied to clipboard
protected open fun getDisplayText(): String
Link copied to clipboard
open fun getValue(): Int
Link copied to clipboard
open fun onClick()
Override this to get notified when the element is clicked
Link copied to clipboard
open fun onLeftInput()
Override this to get notified when the element gets a "left edit" input
Link copied to clipboard
open fun onRightInput()
Override this to get notified when the element gets a "right edit" input

Inherited functions

Link copied to clipboard
Link copied to clipboard
protected open fun setParent(@NonNull parent: TelemetryMenu.MenuElement)