git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#51 wip
[fanfix.git]
/
src
/
jexer
/
TAction.java
diff --git
a/src/jexer/TAction.java
b/src/jexer/TAction.java
index cc93819d538f708267bf179e8c5327f537c23de0..bce00646d54f31324db4eb34c4f48c3f5261386e 100644
(file)
--- a/
src/jexer/TAction.java
+++ b/
src/jexer/TAction.java
@@
-34,9
+34,15
@@
package jexer;
* @see TButton
*/
public abstract class TAction {
* @see TButton
*/
public abstract class TAction {
+
+ /**
+ * An optional bit of data associated with this action. Widgets that use
+ * this field are responsible for setting it.
+ */
+ public Object data;
+
/**
* Various classes will call DO() when they are clicked/selected.
*/
public abstract void DO();
}
/**
* Various classes will call DO() when they are clicked/selected.
*/
public abstract void DO();
}
-