public class MultilineTextField extends TextfieldBase<com.google.gwt.user.client.ui.TextArea>
MultilineTextField
is a TextfieldBase
wrapped around a
TextArea
. It adds specific behaviors related to text areas such as
the minimum displayed rows count and the maximum amount of lines that can be
input by the user.com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
com.google.gwt.i18n.client.HasDirection.Direction
Constructor and Description |
---|
MultilineTextField()
Setup an instance of
TextfieldBase wrapped around a
TextArea . |
MultilineTextField(String inputLabel)
Define the label to be displayed with the text area when setting up the
instance.
|
Modifier and Type | Method and Description |
---|---|
void |
setMaxLines(int maxLines) |
void |
setMinRowsCount(int minRows) |
addBlurHandler, addChangeHandler, addClickHandler, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addFocusHandler, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, addValueChangeHandler, asEditor, asTextBoxBase, cancelKey, getCursorPos, getDirection, getDirectionEstimator, getLabel, getMaxLength, getName, getSelectedText, getSelectionLength, getTabIndex, getText, getValue, getValueOrThrow, getVisibleLength, isEnabled, isReadOnly, isUpgraded, onBrowserEvent, onLoad, selectAll, setAccessKey, setAlignment, setCursorPos, setDirection, setDirectionEstimator, setDirectionEstimator, setEnabled, setFloat, setFocus, setLabel, setMaxLength, setName, setReadOnly, setSelectionRange, setTabIndex, setText, setValue, setValue, setVisibleLength, upgrade
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
add, adopt, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, 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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public MultilineTextField()
TextfieldBase
wrapped around a
TextArea
.public MultilineTextField(String inputLabel)
inputLabel
- a text to be displayed when the text area is emptyCopyright © 2016 com.github.ilyes4j. All rights reserved.