I'm writing a GWT/AppEngine app (GWT 2.2 on Linux) and want to use an
ArrayList of CssColor objects.
When I pull objects from the list, they come out as strings for
reasons I don't understand:
ArrayList<CssColor> colors = new ArrayList<CssColor>();
CssColor bl = CssColor.make(0, 0, 0);
colors.add(bl);
Object xcl = colors.get(0);
Shapes.logit("Class " + xcl.getClass());
Shapes.logit("Value " + xcl);
This comes out with class java.lang.String and value "rgb(0,0,0)".
Perhaps the value method of the CssColor object is being called for
some reason.
Is this a bug? Am I overlooking some GWT constraint?
Thanks for any insight.
--
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.