public class TextArea extends com.google.gwt.user.client.ui.TextArea implements HasPasteHandlers
maxLength attribute.com.google.gwt.user.client.ui.TextBoxBase.TextAlignConstantcom.google.gwt.user.client.ui.ValueBoxBase.TextAlignment| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_STYLE_NAME |
| Constructor and Description |
|---|
TextArea()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addPasteHandler(PasteHandler handler) |
void |
clearMaxLength()
Clears the maxLength attribute
|
int |
getMaxLength() |
void |
setMaxLength(int newMaxLength) |
void |
setText(String text) |
void |
setValue(String value,
boolean fireEvents) |
getCharacterWidth, getCursorPos, getSelectionLength, getVisibleLines, setCharacterWidth, setVisibleLines, wrapaddChangeListener, getValue, setTextAlignmentaddChangeHandler, addValueChangeHandler, asEditor, cancelKey, getDirection, getDirectionEstimator, getImpl, getName, getSelectedText, getText, getValueOrThrow, isReadOnly, onBrowserEvent, onLoad, removeChangeListener, selectAll, setAlignment, setCursorPos, setDirection, setDirectionEstimator, setDirectionEstimator, setKey, setName, setReadOnly, setSelectionRange, 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, waitpublic static final String DEFAULT_STYLE_NAME
public TextArea()
Attaches event handlers to the new widget, for handling maxLength attribute.
public int getMaxLength()
public void setMaxLength(int newMaxLength)
newMaxLength - the maxLength to setpublic void clearMaxLength()
public com.google.gwt.event.shared.HandlerRegistration addPasteHandler(PasteHandler handler)
addPasteHandler in interface HasPasteHandlersHasPasteHandlers.addPasteHandler(org.cruxframework.crux.widgets.client.event.paste.PasteHandler)public void setValue(String value, boolean fireEvents)
Copyright © 2014. All rights reserved.