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.
30 lines
609 B
30 lines
609 B
10 years ago
|
package mightypork.gamecore.gui.events;
|
||
10 years ago
|
|
||
|
|
||
10 years ago
|
import mightypork.gamecore.eventbus.BusEvent;
|
||
|
import mightypork.gamecore.eventbus.event_flags.ImmediateEvent;
|
||
|
import mightypork.gamecore.eventbus.event_flags.NonConsumableEvent;
|
||
10 years ago
|
|
||
|
|
||
|
/**
|
||
|
* 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> {
|
||
|
|
||
10 years ago
|
public LayoutChangeEvent()
|
||
|
{
|
||
10 years ago
|
}
|
||
|
|
||
|
|
||
|
@Override
|
||
|
public void handleBy(LayoutChangeListener handler)
|
||
|
{
|
||
|
handler.onLayoutChanged();
|
||
|
}
|
||
|
}
|