Wednesday, January 19, 2011

.setHorizontalAlignment on a Textcolumn does not compile

Hello,

I get the following complier-error in elipse with google plugin with
the following code:
"The method
setHorizontalAlignment(HasHorizontalAlignment.HorizontalAlignmentConstant)
is undefined for the type TextColumn<String>"

Code:

TextColumn<String> tc = new TextColumn<String>()
{ @Override public String getValue(String object)
{return object;}
};
tc.setHorizontalAlignment( HasHorizontalAlignment.ALIGN_RIGHT);

I the APIDOC I find the method setHorizontalAlignment for
(Text)Column.

What am I doing wrong?

Thanks Frank

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate