public interface ButtonListener { /** * Callback method invoked whenever the Button changes state (pressed or released) * @param isPressed The state of the button after the change. * */ public void buttonChanged(boolean isPressed); }