implicit final class TextButtonOps extends AnyVal

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TextButtonOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TextButtonOps(button: TextButton)

Value Members

  1. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  2. 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.

  3. 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.