Hi, I am trying to adapt a slideshow to the web using GWT (it is going to be a long go considering my rate of progress, but it's okay, I enjoy getting back to Java).
Basically, the problem I encounter is that a Slide must be able to catch click events (to start the next SlideItem's Animation or to notify the SlideShow that it is done and to Transition into the next Slide). A Slide must also be a LayoutPanel (because SlideItems can be located anywhere on the Slide). Now, from what I know there is two ways I can do this: either extend Composite or extending ComplexPanel (the latter seems the best choice as it already implements most methods I need). I have tried both, but I obviously fail to understand how to properly extend these classes. Now, I haven't found much documentation on how to extend ComplexPanel (neither on the Javadoc nor on the Internet nor by searching this newsgroup). I decompressed the gwt-user.jar and looked at the implementations of LayoutPanel, FocusPanel and various other "full class" Panel classes. If I understand everything correctly, I basically need to use setElement() in my "Slide extends ComplexPanel"'s constructor. If I am right (if that actually is the correct way to go to do what I want), should I use Document.get().createDivElement() (as in LayoutPanel.java) or DOM.createDiv() (as in SimplePanel.java)? I have no knowledge of ECMAScript (Javascript), but I do know a few things about HTML and CSS. From what I understand the DOM is used to handle events and since I want FocusPanel fonctionality, that might be what I need. Well, sorry for that long and confusing message; I am trying to give as much useful informations as possible. Thanks in advance. Regards, Vhann -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en.
