Hi,
-- I am trying to create a keydownhandler event for the suggest box but it won't allow me to do so? why
It shows this error
" The method addKeyDownHandler(KeyDownHandler) in the type SuggestBox is not applicable for the arguments (new KeyDownHandler(){})"
Here is my code:
private MultiWordSuggestOracle oracle = new MultiWordSuggestOracle();
private SuggestBox suggestBox = new SuggestBox(oracle);
suggestBox.addKeyDownHandler(new KeyDownHandler(){
@Override
public void onKeyDown(KeyDownEvent event) {
// TODO Auto-generated method stub
}
});
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment