anchovy.gui.utils.eventpropagators

Members

Enums

OnHandle
enum OnHandle
Undocumented in source.
PropagatingStrategy
enum PropagatingStrategy

Functions

buildPathToLeaf
Widget[] buildPathToLeaf(Widget root, T data)

Tests all root's children with pred. Then calls itself with found child. Adds widgets satisfying pred to returned array. Root widget is added first. Can be used to find widget that is under cursor

propagateEventChildrenFirst
void propagateEventChildrenFirst(Widget root, Event event)
Undocumented in source. Be warned that the author may not have intended to support it.
propagateEventParentFirst
void propagateEventParentFirst(Widget root, Event event)
Undocumented in source. Be warned that the author may not have intended to support it.
propagateEventSinkBubble
Widget[] propagateEventSinkBubble(Widget[] widgets, Event event)
Undocumented in source. Be warned that the author may not have intended to support it.
propagateEventSinkBubbleTree
void propagateEventSinkBubbleTree(Widget root, Event e)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

Authors

Andrey Penechko.