I created component, which is Composite Panel (let's call A) which has inside several other Composite Panel (B1, B2, B3 ...) and each of internal Composite Panel (B1, B2, B3 ...) fire itself
OnMouseOver and that is ok (I know how to add event to composite panel)
QUESTION:
but how to propagate this event to major composite Panel (A).
I would like use panel A in some view, like bellow:
@UiField
MyCompositePanelA panelA; //which has inside B1 B2 B3 ...
...
@UiHandler(value={"panelA"})
void onOver(MouseOverEvent e) { //or some other custom event
if (e... = B1) // recognize - was MouseOverEvent on B1
}
Best Regards