>... > Another way of sending model information is using interfaces. For > instance, if I knew that I would be displaying a speedometer for car > and a bike (and maybe something else as well), I would have done > something like: > > new SpeedoMeterView(Vehicle vehicle)... > > where Vehicle is an interface with methods that provide access to all > properties that the SpeedometerView needs.
This is a good way as well. Interfaces are like magic bullets sometimes... -- supercobra -- 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.
