Hi,

I'm using gwt framework called smartgwt (however, problem concerns gwt
and java) There, you can find HLayout class which can contain members.
You can add them using:

addMember(Canvas component)

I created RectConainer class which extends HLayout class. Then, I
created another class Rect which extends Canvas class indirectly.
Right now, I want RectConainer to provide:

addMember(Rect component)

instead of:

addMember(Canvas component)

In other words, I want RectConainer to provide all inherited method +
addMember(Rect component), but without addMember(Canvas component).
The only way how to do it (which I know) is to use Composite class,
but then I block all inherited methods. Because I've many of them
then, I'd have to write many line of code to provide them again. So do
you have any better ideas how to solve this problem?

Thanks in advance

-- 
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.

Reply via email to