Class VCustomTextAreaWidget

Object
UIObject
Widget
FocusWidget
ValueBoxBase<String>
TextBoxBase
VTextField
VTextArea
VCustomTextAreaWidget
All Implemented Interfaces:
IsEditor<ValueBoxEditor<String>>, BlurHandler, ChangeHandler, FocusHandler, HasAllDragAndDropHandlers, HasAllFocusHandlers, HasAllGestureHandlers, HasAllKeyHandlers, HasAllMouseHandlers, HasAllTouchHandlers, HasBlurHandlers, HasChangeHandlers, HasClickHandlers, HasDoubleClickHandlers, HasDragEndHandlers, HasDragEnterHandlers, HasDragHandlers, HasDragLeaveHandlers, HasDragOverHandlers, HasDragStartHandlers, HasDropHandlers, HasFocusHandlers, HasGestureChangeHandlers, HasGestureEndHandlers, HasGestureStartHandlers, HasKeyDownHandlers, HasKeyPressHandlers, HasKeyUpHandlers, HasMouseDownHandlers, HasMouseMoveHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasMouseUpHandlers, HasMouseWheelHandlers, HasTouchCancelHandlers, HasTouchEndHandlers, HasTouchMoveHandlers, HasTouchStartHandlers, KeyDownHandler, HasAttachHandlers, HasValueChangeHandlers<String>, EventHandler, HasHandlers, AutoDirectionHandler.Target, HasDirection, HasDirectionEstimator, EventListener, TakesValue<String>, Focusable, HasEnabled, HasFocus, HasName, HasText, HasValue<String>, HasVisibility, IsWidget, SourcesChangeEvents, SourcesClickEvents, SourcesFocusEvents, SourcesKeyboardEvents, SourcesMouseEvents, DeferredWorker, DragImageModifier, Field

public class VCustomTextAreaWidget extends VTextArea
  • Nested Class Summary

    Nested classes/interfaces inherited from class TextBoxBase

    TextBoxBase.TextAlignConstant

    Nested classes/interfaces inherited from class ValueBoxBase

    ValueBoxBase.TextAlignment

    Nested classes/interfaces inherited from class UIObject

    UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled

    Nested classes/interfaces inherited from interface HasDirection

    HasDirection.Direction
  • Field Summary

    Fields inherited from class VTextArea

    CLASSNAME

    Fields inherited from class VTextField

    CLASSNAME_FOCUS, client, listenTextChangeEvents, paintableId, TEXTCHANGE_EVENTS, textChangeEventMode, textChangeEventTimeout, valueBeforeEdit

    Fields inherited from class TextBoxBase

    ALIGN_CENTER, ALIGN_JUSTIFY, ALIGN_LEFT, ALIGN_RIGHT

    Fields inherited from class UIObject

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onBlur(BlurEvent event)
     
    void
    onFocus(FocusEvent event)
     
    void
     

    Methods inherited from class VTextArea

    browserSupportsMaxLengthAttribute, enforceMaxLength, getCursorPos, getTextAreaElement, modifyDragImage, onBrowserEvent, onKeyDown, setMaxLengthToElement, setRows, setSelectionRange, setWordwrap, updateMaxLength

    Methods inherited from class VTextField

    attachCutEventListener, detachCutEventListener, flushChangesFromFocusedTextField, getMaxLength, isWordwrap, isWorkPending, onAttach, onChange, onCut, onDetach, setColumns, setImmediate, setInputPrompt, setMaxLength, setReadOnly, updateCursorPosition, valueChange

    Methods inherited from class TextBoxBase

    addChangeListener, getValue, setTextAlignment

    Methods inherited from class ValueBoxBase

    addChangeHandler, addValueChangeHandler, asEditor, cancelKey, getDirection, getDirectionEstimator, getImpl, getName, getSelectedText, getSelectionLength, getText, getValueOrThrow, isReadOnly, onLoad, removeChangeListener, selectAll, setAlignment, setCursorPos, setDirection, setDirectionEstimator, setDirectionEstimator, setKey, setName, setText, setValue, setValue

    Methods inherited from class FocusWidget

    addBlurHandler, 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, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener, setAccessKey, setEnabled, setFocus, setTabIndex

    Methods inherited from class Widget

    addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents

    Methods inherited from class UIObject

    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

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface HasHandlers

    fireEvent

    Methods inherited from interface HasKeyUpHandlers

    addKeyUpHandler

    Methods inherited from interface SourcesChangeEvents

    removeChangeListener
  • Constructor Details

    • VCustomTextAreaWidget

      public VCustomTextAreaWidget()
  • Method Details

    • updateFieldContent

      public void updateFieldContent(String text)
      Overrides:
      updateFieldContent in class VTextField
    • onFocus

      public void onFocus(FocusEvent event)
      Specified by:
      onFocus in interface FocusHandler
      Overrides:
      onFocus in class VTextField
    • onBlur

      public void onBlur(BlurEvent event)
      Specified by:
      onBlur in interface BlurHandler
      Overrides:
      onBlur in class VTextField