R
- The type of the result of the actionpublic abstract class ClickAction<R> extends TextAction<R>
TextAction
that responds to clicks.Modifier and Type | Class and Description |
---|---|
static class |
ClickAction.ChangePage
For books, changes pages.
|
static class |
ClickAction.ExecuteCallback
Execute a callback.
|
static class |
ClickAction.OpenUrl
Opens a url.
|
static class |
ClickAction.RunCommand
Runs a command.
|
static class |
ClickAction.SuggestCommand
Suggests a command in the prompt.
|
result
Modifier and Type | Method and Description |
---|---|
void |
applyTo(Text.Builder builder)
Applies this element to the end of the specified builder.
|
equals, getResult, hashCode, toString
public void applyTo(Text.Builder builder)
TextElement
builder
- Text builder to apply to