AddressEditAddressForm form = new AddressEditAddressForm();
form.draw();
}
private void testAddressEditCanvas() {
final AddressEditCanvas edit = new AddressEditCanvas();
edit.setWidth100();
edit.setHeight100();
edit.setAddress(createTestAddress());
edit
.addSaveButtonHandler(new com.smartgwt.client.widgets.events.ClickHandler() {
@Override
public void onClick(
com.smartgwt.client.widgets.events.ClickEvent event) {
GWT.log(edit.getAddress().toString());
}
});
edit.draw();
}