public interface InlineMenuButton extends MenuPressable
| Modifier and Type | Method and Description |
|---|---|
void |
assignMenu(InlineMenu owner)
Assign this button to it's menu owner.
|
default void |
executeCallback()
Execute the callback.
|
ButtonCallback |
getCallback() |
InlineMenu |
getMenu() |
String |
getText() |
InlineMenuButton |
setCallback(ButtonCallback callback)
Set the callback of this button
|
void |
setText(String text)
Set the text of the button
|
InlineKeyboardButton |
toKeyboardButton() |
void |
updateRow(int row) |
handlePressString getText()
void setText(String text)
text - Text to set it toInlineMenu getMenu()
ButtonCallback getCallback()
InlineMenuButton setCallback(ButtonCallback callback)
callback - Callback to setvoid assignMenu(InlineMenu owner)
owner - New menu ownerdefault void executeCallback()
InlineKeyboardButton toKeyboardButton()
void updateRow(int row)
Copyright © 2017. All rights reserved.