#51 wip
[fanfix.git] / src / jexer / TAction.java
index cc93819d538f708267bf179e8c5327f537c23de0..bce00646d54f31324db4eb34c4f48c3f5261386e 100644 (file)
@@ -34,9 +34,15 @@ package jexer;
  * @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();
 }
-