toggle menu
BunyipsLib
v6.0.0-master-33a554fa
BunyipsLib
switch theme
search in API
BunyipsLib
/
au.edu.sa.mbhs.studentrobotics.bunyipslib.external
/
TelemetryMenu
/
StaticClickableOption
Static
Clickable
Option
open
class
StaticClickableOption
:
TelemetryMenu.OptionElement
A menu item that may be clicked by the user.
Members
Constructors
Static
Clickable
Option
Link copied to clipboard
protected
constructor
(
@
NonNull
name
:
String
)
constructor
(
@
NonNull
name
:
String
,
@
NonNull
onClick
:
Runnable
)
Create a new StaticClickableOption.
Functions
get
Display
Text
Link copied to clipboard
@
NonNull
protected
open
fun
getDisplayText
(
)
:
String
on
Click
Link copied to clipboard
protected
open
fun
onClick
(
)
Override this to get notified when the element is clicked
Inherited functions
on
Left
Input
Link copied to clipboard
protected
open
fun
onLeftInput
(
)
Override this to get notified when the element gets a "left edit" input
on
Right
Input
Link copied to clipboard
protected
open
fun
onRightInput
(
)
Override this to get notified when the element gets a "right edit" input
parent
Link copied to clipboard
@
NonNull
protected
open
fun
parent
(
)
:
TelemetryMenu.MenuElement
set
Parent
Link copied to clipboard
protected
open
fun
setParent
(
@
NonNull
parent
:
TelemetryMenu.MenuElement
)