public class DesktopEventManagementPolicy extends java.lang.Object implements ej.microui.util.EventHandler
While no renderable consumes the events, they are sent to the renderable that is under the pointer (see
Desktop.panelAt(int, int) and
Panel.getWidgetAt(int, int)), then sent to all its parent hierarchy.
Once a renderable has consumed an event, it will be the only one to receive the next events during the session.
Widget.hasFocus()), then sent to all its parent hierarchy while the event is not consumed.
|Constructor and Description|
Creates a desktop event manager.
public DesktopEventManagementPolicy(Desktop desktop)
desktop- the desktop to dispatch in.