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.
27 lines
503 B
27 lines
503 B
10 years ago
|
package mightypork.gamecore.control.bus.events;
|
||
|
|
||
|
|
||
|
import mightypork.gamecore.control.bus.events.types.ImmediateEvent;
|
||
|
import mightypork.gamecore.control.timing.Pollable;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Intended use is to notify UI component sub-clients that they should poll
|
||
|
* their cached constraints.
|
||
|
*
|
||
|
* @author MightyPork
|
||
|
*/
|
||
|
@ImmediateEvent
|
||
|
public class LayoutChangeEvent implements Event<Pollable> {
|
||
|
|
||
|
public LayoutChangeEvent() {
|
||
|
}
|
||
|
|
||
|
|
||
|
@Override
|
||
|
public void handleBy(Pollable handler)
|
||
|
{
|
||
|
handler.poll();
|
||
|
}
|
||
|
}
|