| Modifier and Type | Method and Description |
|---|---|
InlineMenuButton |
InlineMenuRow.buttonAt(int index)
Get button at index
|
InlineMenuButton |
InlineMenuRow.removeButton(int index)
Removes button at index
|
| Modifier and Type | Method and Description |
|---|---|
void |
InlineMenuRow.addButton(InlineMenuButton button) |
int |
InlineMenuRow.indexOf(InlineMenuButton button) |
void |
InlineMenuRowBuilder.internalAddButton(InlineMenuButton button)
Called by button builders to add the button to the row.
|
void |
InlineMenuRow.removeButton(InlineMenuButton button) |
void |
InlineMenuRow.setButton(int index,
InlineMenuButton button) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractInlineMenuButton
Abstract implementation of InlineMenuButton
|
| Modifier and Type | Method and Description |
|---|---|
protected <BT extends InlineMenuButton> |
AbstractButtonBuilder.processButton(BT button) |
| Modifier and Type | Method and Description |
|---|---|
abstract InlineMenuButton |
AbstractButtonBuilder.buildButton() |
InlineMenuButton |
AbstractInlineMenuButton.setCallback(ButtonCallback callback) |
InlineMenuButton |
InlineMenuButton.setCallback(ButtonCallback callback)
Set the callback of this button
|
| Modifier and Type | Method and Description |
|---|---|
InlineMenuButton |
DummyButtonBuilder.buildButton() |
| Modifier and Type | Method and Description |
|---|---|
UserInputInlineMenuButtonBuilder<T> |
UserInputInlineMenuButtonBuilder.textCallback(BiConsumer<InlineMenuButton,String> textCallback)
Required.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ButtonCallback.callback(InlineMenuButton button)
Executed whenever the button is pressed.
|
String |
ToggleCallback.handleToggle(InlineMenuButton button,
boolean newValue) |
| Modifier and Type | Class and Description |
|---|---|
class |
BackButton
A button which once pressed will exit it's current menu
and as a result open the last seen menu.
|
class |
DummyButton
A button which once pressed, executes a callback where
the developer can do whatever they want.
|
class |
SubInlineMenuButton
A button which opens a sub menu.
|
class |
ToggleInlineMenuButton
A button which represents an underlying boolean value.
|
class |
UserInputInlineMenuButton
Button which after being called listens for user input.
|
| Constructor and Description |
|---|
UserInputInlineMenuButton(InlineMenu owner,
int row,
BiConsumer<InlineMenuButton,String> textCallback) |
UserInputInlineMenuButton(InlineMenu owner,
int row,
int num,
BiConsumer<InlineMenuButton,String> textCallback)
Deprecated.
|
UserInputInlineMenuButton(InlineMenu owner,
int row,
int num,
String text,
BiConsumer<InlineMenuButton,String> textCallback)
Deprecated.
|
UserInputInlineMenuButton(InlineMenu owner,
int row,
String text,
BiConsumer<InlineMenuButton,String> textCallback) |
Copyright © 2017. All rights reserved.