@UiHandler("btnSuccessTxtArea") void onSuccessTxtArea(ClickEvent e) { txtArea.setSuccess("This is a success message text area."); }
@UiHandler("btnClearTxtArea") void onClearTxtArea(ClickEvent e) { txtArea.clearErrorOrSuccess(); }
@Override public void setText(String text) { // TODO Auto-generated method stub textArea.setText(text); }
@UiHandler("btnErrorTxtArea") void onErrorTxtArea(ClickEvent e) { txtArea.setError("This is an error message for text area."); }
@Override public HandlerRegistration addKeyPressHandler(KeyPressHandler handler) { // TODO Auto-generated method stub return textArea.addKeyPressHandler(handler); }
@Override public String getText() { // TODO Auto-generated method stub return textArea.getText(); }
@Override public void setOffset(String offset) { // TODO Auto-generated method stub textArea.setOffset(offset); }
@Override public void setGrid(String grid) { // TODO Auto-generated method stub textArea.setGrid(grid); }
@Override public void setSuccess(String success) { // TODO Auto-generated method stub textArea.setSuccess(success); }
@Override public void setError(String error) { // TODO Auto-generated method stub textArea.setError(error); }
@Override public void fireEvent(GwtEvent<?> event) { textArea.fireEvent(event); }