I am using GWT 2.2.0 SmartGWT 2.4, Google Chrome 5.0.375.127, Ubuntu 10.04
I can't get a DomEvent on SmartGWT widget:
Compare to:
I assume that SmartGWT event handling is different with pure GWT event handling.
But how if I need DomEvent, let say TouchMoveEvent in case of sliding the SmartGWT Slider widget smoothly.
Is there a way to achieve that?
Thanks,
-Yudi.
I can't get a DomEvent on SmartGWT widget:
Code:
final IButton button = new IButton("Hello"); button.addDomHandler(new MouseMoveHandler() { @Override public void onMouseMove(MouseMoveEvent event) { button.setTitle("Move"); } }, MouseMoveEvent.getType()); button.draw();
Code:
final Button gwtButton = new Button("Hello"); gwtButton.addDomHandler(new MouseMoveHandler() { @Override public void onMouseMove(MouseMoveEvent event) { gwtButton.setText("Move"); } }, MouseMoveEvent.getType()); RootPanel.get().add(gwtButton);
But how if I need DomEvent, let say TouchMoveEvent in case of sliding the SmartGWT Slider widget smoothly.
Is there a way to achieve that?
Thanks,
-Yudi.