public MethodCallSearch() { initWidget(uiBinder.createAndBindUi(this)); Window.setTitle("Method call search"); flowBeginDate.setFormat(new DateBox.DefaultFormat(DateTimeFormat.getFormat("dd/MM/yy"))); flowBeginDate.getTextBox().setVisibleLength(8); flowBeginDate.getTextBox().setMaxLength(8); flowBeginDate .getTextBox() .addKeyPressHandler( new KeyPressHandler() { public void onKeyPress(KeyPressEvent pEvent) { presenter.filterData(MethodCallSearch.this, pEvent); } }); tableModel = new MetodCallSearchTableModel(service); table = tableModel.getTable(); searchResult.add(table); }
public void setSearchCriterion(MethodCallSearchCriterion pCriterion) { tableModel.setSearchCriterion(pCriterion); }