@UiHandler("btnSuccessTxtArea")
 void onSuccessTxtArea(ClickEvent e) {
   txtArea.setSuccess("This is a success message text area.");
 }
 @UiHandler("btnClearTxtArea")
 void onClearTxtArea(ClickEvent e) {
   txtArea.clearErrorOrSuccess();
 }
示例#3
0
 @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.");
 }
示例#5
0
 @Override
 public HandlerRegistration addKeyPressHandler(KeyPressHandler handler) {
   // TODO Auto-generated method stub
   return textArea.addKeyPressHandler(handler);
 }
示例#6
0
 @Override
 public String getText() {
   // TODO Auto-generated method stub
   return textArea.getText();
 }
示例#7
0
 @Override
 public void setOffset(String offset) {
   // TODO Auto-generated method stub
   textArea.setOffset(offset);
 }
示例#8
0
 @Override
 public void setGrid(String grid) {
   // TODO Auto-generated method stub
   textArea.setGrid(grid);
 }
示例#9
0
 @Override
 public void setSuccess(String success) {
   // TODO Auto-generated method stub
   textArea.setSuccess(success);
 }
示例#10
0
 @Override
 public void setError(String error) {
   // TODO Auto-generated method stub
   textArea.setError(error);
 }
示例#11
0
 @Override
 public void fireEvent(GwtEvent<?> event) {
   textArea.fireEvent(event);
 }