public abstract class TAction
extends java.lang.Object
TButton
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
data
An optional bit of data associated with this action.
|
TWidget |
source
The widget that called this action's DO() method.
|
Constructor and Description |
---|
TAction() |
Modifier and Type | Method and Description |
---|---|
abstract void |
DO()
Various classes will call DO() when they are clicked/selected.
|
void |
DO(TWidget source)
Call DO() with source widget set.
|
void |
DO(TWidget source,
java.lang.Object data)
Call DO() with source widget and data set.
|
public TWidget source
public java.lang.Object data
public final void DO(TWidget source)
source
- the source widgetpublic final void DO(TWidget source, java.lang.Object data)
source
- the source widgetdata
- the datapublic abstract void DO()
Copyright © 2019 Kevin Lamonte. Licensed MIT.