package mightypork.gamecore.control.bus.events; import mightypork.gamecore.control.bus.events.types.ImmediateEvent; /** * Intended use is to notify UI component sub-clients that they should poll * their cached constraints. * * @author MightyPork */ @ImmediateEvent public class LayoutChangeEvent implements Event { public LayoutChangeEvent() { } @Override public void handleBy(Listener handler) { handler.onLayoutChanged(); } public interface Listener { public void onLayoutChanged(); } }