*
* The MIT License (MIT)
*
- * Copyright (C) 2016 Kevin Lamonte
+ * Copyright (C) 2019 Kevin Lamonte
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* @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();
}
-