R
- The type of the resultpublic abstract class TextAction<R> extends Object implements TextElement
Text
.ClickAction
,
HoverAction
,
ShiftClickAction
Modifier | Constructor and Description |
---|---|
protected |
TextAction(R result)
Constructs a new
TextAction with the given result. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
R |
getResult()
Returns the result of this
TextAction . |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
applyTo
protected final R result
protected TextAction(R result)
TextAction
with the given result.result
- The result of the text actionpublic final R getResult()
TextAction
.