package abstractfactory; // Every button, regardless of theme, must be able to render and handle clicks public interface Button { void render(); // draw on screen void onClick(); // respond to a click event }