Is there any possibility to downcast the return of
getOwnerContainter() to my Panel specialization? If I'm sure that (for
instance) Button b1 was added to an instance of a specialized Panel
(let's say, MyPanel), is it possible to do something like:

MyPanel downcastedContainer = (MyPanel) b1.getOwnerContainer();

???

I'm getting a class cast exception because getOwnerContainter() is
returning a Container...

Thanks in advance,
Ricardo


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to