Hi. I wonder how could i fire an simple OnChangeEvent for Widget ?
It implements interface HasChangeHandlers.
I just want to fireEvent to mark widget as "changed"
exapmple:
selectAllButton = DasUtils.mkButton( GenericStrings.SELECT_ALL.toString
(), new Runnable() {
public void run() {
for ( int i = 0; i < lbRef[0].getItemCount();
i++ ) {
lbRef[0].setItemSelected( i, true );
}
// SearchFieldAttrIn.this.fireEvent( ); i dont
know what to do
here.
// SearchFieldAttrIn.this.onBrowserEvent( new
ChangeEvent() );
}
} );
Thanks !
--
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.