Regarding the source of HandlerManager, if i have a custom event and
handler (CellClickEvent and CellClickHandler with
onCustomCellClicked() let's say...) when i instantiate HandlerManager
handlerList = new HandlerManager(flexTable) , fire the event with
handlerList.fire(new CellClickEvent(...)) ,
It is normal behaviour
On 29 January 2010 19:46, Bolletta Mathieu wrote:
> Hi there,
>
> Can someone tell me *Why* when an event is fired, the source is
> changed?
> public void fireEvent(GwtEvent event) {
>// If it not live we should revive it.
>if (!event.isLive()) {
> event.reviv
On Jan 29, 2:46 pm, Bolletta Mathieu
wrote:
> Hi there,
>
> Can someone tell me *Why* when an event is fired, the source is
> changed?
If I register an event handler on one widget, I expect the source to
be that widget, even if it's re-firing an event originally fired by an
inner widget (this wo
Hi there,
Can someone tell me *Why* when an event is fired, the source is
changed?
public void fireEvent(GwtEvent event) {
// If it not live we should revive it.
if (!event.isLive()) {
event.revive();
}
Object oldSource = event.getSource();
// why?
event.setSourc