4647484950515253
failNow(failMsg); } }; DOM.setEventListener(btn, listener); btn.click(); } }
566567568569570571572573574575576
/** * Programmatic equivalent of the user clicking the button. */ public void click() { ButtonElement elem = button.getElement().cast(); elem.click(); } /* * (non-Javadoc) *