in the api
http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/cellview/client/Header.html#getValue%28%29
H - the Cell type

but in fact, why the following can work

> ActionCell<String> addPCCell = new ActionCell<String>("add", new 
> Delegate<String>(){
> @Override
> public void execute(String projectCd) {
> // TODO Auto-generated method stub
> System.out.println("addPCCell execute is triggered, projectCd = " + 
> projectCd);
> } 
> }); 
>
> Header<String> footerAdd = new Header<String>(addPCCell){
> @Override
> public String getValue() {
> // TODO Auto-generated method stub
> System.out.println("footerAdd getValue() is called");
> return projectCdModel.getSelectedObject();
> }
> };
>

the H is String (Header<String>), but not the Cell type (ActionCell<String>), 
why?
 



<http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/cell/client/Cell.html>

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

Reply via email to