public class TextArea extends com.google.gwt.user.client.ui.TextArea implements com.google.gwt.event.dom.client.FocusHandler, com.google.gwt.event.dom.client.BlurHandler, com.google.gwt.event.dom.client.KeyUpHandler, IsSWMMobileWidget, IHasValidator
com.google.gwt.user.client.ui.TextBoxBase.TextAlignConstantcom.google.gwt.user.client.ui.ValueBoxBase.TextAlignment| Constructor and Description |
|---|
TextArea()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addErrorOuptut(IErrorOutputElement errorOutputToAdd)
Add an error output element where error messages are displayed
|
void |
addValidator(IValidator<String> validatorToAdd)
Adds a validator to this Ui-Widget
|
void |
clearValidation()
Clears the component of all validation results.
|
void |
onBlur(com.google.gwt.event.dom.client.BlurEvent event) |
void |
onFocus(com.google.gwt.event.dom.client.FocusEvent event) |
void |
onInitialLoad()
When the widget is loaded first time.
|
void |
onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event) |
protected void |
onLoad() |
void |
onTransitionEnd()
When an transition containing this widget ends.
|
void |
removeAllValidators()
Will remove all registered validators.
|
void |
setSecondaryStyle(String style)
Will set the secondary style.
|
void |
setText(String text) |
boolean |
validate()
Validates the current content of the widget with the underlying validators.
|
getCharacterWidth, getCursorPos, getSelectionLength, getVisibleLines, setCharacterWidth, setVisibleLines, wrapaddChangeListener, getValue, setTextAlignmentaddChangeHandler, addValueChangeHandler, asEditor, cancelKey, getDirection, getDirectionEstimator, getImpl, getName, getSelectedText, getText, getValueOrThrow, isReadOnly, onBrowserEvent, removeChangeListener, selectAll, setAlignment, setCursorPos, setDirection, setDirectionEstimator, setDirectionEstimator, setKey, setName, setReadOnly, setSelectionRange, setValue, setValueaddBlurHandler, addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addFocusHandler, addFocusListener, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, getFocusImpl, getTabIndex, isEnabled, onAttach, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener, setAccessKey, setEnabled, setFocus, setTabIndexaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onDetach, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected void onLoad()
onLoad in class com.google.gwt.user.client.ui.ValueBoxBase<String>public void onFocus(com.google.gwt.event.dom.client.FocusEvent event)
onFocus in interface com.google.gwt.event.dom.client.FocusHandlerpublic void onBlur(com.google.gwt.event.dom.client.BlurEvent event)
onBlur in interface com.google.gwt.event.dom.client.BlurHandlerpublic void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
onKeyUp in interface com.google.gwt.event.dom.client.KeyUpHandlerpublic void onInitialLoad()
IsSWMMobileWidgetonInitialLoad in interface IsSWMMobileWidgetpublic void onTransitionEnd()
IsSWMMobileWidgetonTransitionEnd in interface IsSWMMobileWidgetpublic void setText(String text)
setText in interface com.google.gwt.user.client.ui.HasTextsetText in class com.google.gwt.user.client.ui.ValueBoxBase<String>public void setSecondaryStyle(String style)
IsSWMMobileWidgetsetSecondaryStyle in interface IsSWMMobileWidgetstyle - the style to set.public void addValidator(IValidator<String> validatorToAdd)
validatorToAdd - the validtors to addpublic void addErrorOuptut(IErrorOutputElement errorOutputToAdd)
errorOutputToAdd - the error output element to addpublic void removeAllValidators()
public void clearValidation()
IHasValidatorclearValidation in interface IHasValidatorpublic boolean validate()
IHasValidatorvalidate in interface IHasValidatorCopyright © 2011–2015 SWM. All rights reserved.