implicit final class TextButtonOps extends AnyVal
- Source
- package.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TextButtonOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new TextButtonOps(button: TextButton)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def onClick[A <: ComponentInteraction](makeHandler: (String) => AutoButtonHandler[A]): TextButton
Create a button handler to be executed when a button is clicked.
Create a button handler to be executed when a button is clicked.
- makeHandler
Function to make the handler.
- returns
The button.
- def onClickBoth[A <: ComponentInteraction](makeHandler: (String) => ButtonHandler[A]): (TextButton, ButtonHandler[A])
Create a button handler to be executed when a button is clicked.
Create a button handler to be executed when a button is clicked.
- makeHandler
Function to make the handler.
- returns
The button and the created handler.
- def toString(): String
- Definition Classes
- Any