You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
630 B
28 lines
630 B
package mightypork.gamecore.control.events.gui;
|
|
|
|
|
|
import mightypork.util.control.eventbus.BusEvent;
|
|
import mightypork.util.control.eventbus.events.flags.ImmediateEvent;
|
|
import mightypork.util.control.eventbus.events.flags.NonConsumableEvent;
|
|
|
|
|
|
/**
|
|
* Intended use is to notify UI component sub-clients that they should poll
|
|
* their cached constraints.
|
|
*
|
|
* @author MightyPork
|
|
*/
|
|
@ImmediateEvent
|
|
@NonConsumableEvent
|
|
public class LayoutChangeEvent extends BusEvent<LayoutChangeListener> {
|
|
|
|
public LayoutChangeEvent() {
|
|
}
|
|
|
|
|
|
@Override
|
|
public void handleBy(LayoutChangeListener handler)
|
|
{
|
|
handler.onLayoutChanged();
|
|
}
|
|
}
|
|
|