|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.FocusWidget
com.google.gwt.user.client.ui.ValueBoxBase<String>
com.google.gwt.user.client.ui.TextBoxBase
com.vaadin.terminal.gwt.client.ui.VTextField
com.vaadin.terminal.gwt.client.ui.VTextArea
public class VTextArea
This class represents a multiline textfield (textarea). TODO consider replacing this with a RichTextArea based implementation. IE does not support CSS height for textareas in Strict mode :-(
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.TextBoxBase |
|---|
com.google.gwt.user.client.ui.TextBoxBase.TextAlignConstant |
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.ValueBoxBase |
|---|
com.google.gwt.user.client.ui.ValueBoxBase.TextAlignment |
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Nested classes/interfaces inherited from interface com.google.gwt.i18n.client.HasDirection |
|---|
com.google.gwt.i18n.client.HasDirection.Direction |
| Field Summary | |
|---|---|
static String |
CLASSNAME
|
| Fields inherited from class com.vaadin.terminal.gwt.client.ui.VTextField |
|---|
ATTR_NO_VALUE_CHANGE_BETWEEN_PAINTS, ATTR_TEXTCHANGE_EVENTMODE, ATTR_TEXTCHANGE_TIMEOUT, CLASSNAME_FOCUS, client, id, VAR_CUR_TEXT, VAR_CURSOR |
| Fields inherited from class com.google.gwt.user.client.ui.TextBoxBase |
|---|
ALIGN_CENTER, ALIGN_JUSTIFY, ALIGN_LEFT, ALIGN_RIGHT |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
VTextArea()
|
|
| Method Summary | |
|---|---|
protected boolean |
browserSupportsMaxLengthAttribute()
|
protected void |
enforceMaxLength()
|
int |
getCursorPos()
|
void |
onBrowserEvent(com.google.gwt.user.client.Event event)
|
void |
onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
|
void |
setRows(int rows)
|
void |
updateFromUIDL(UIDL uidl,
ApplicationConnection client)
|
protected void |
updateMaxLength(int maxLength)
This method is reponsible for updating the DOM or otherwise ensuring that the given max length is enforced. |
| Methods inherited from class com.vaadin.terminal.gwt.client.ui.VTextField |
|---|
attachCutEventListener, detachCutEventListener, flushChangesFromFocusedTextField, getMaxLength, onAttach, onBeforeShortcutAction, onBlur, onChange, onCut, onDetach, onFocus, setColumns, setHeight, setReadOnly, setWidth, setWordwrap, updateCursorPosition, valueChange |
| Methods inherited from class com.google.gwt.user.client.ui.TextBoxBase |
|---|
addChangeListener, getValue, setTextAlignment |
| Methods inherited from class com.google.gwt.user.client.ui.ValueBoxBase |
|---|
addChangeHandler, addValueChangeHandler, asEditor, cancelKey, getDirection, getDirectionEstimator, getImpl, getName, getSelectedText, getSelectionLength, getText, getValueOrThrow, isReadOnly, onLoad, removeChangeListener, selectAll, setAlignment, setCursorPos, setDirection, setDirectionEstimator, setDirectionEstimator, setKey, setName, setSelectionRange, setText, setValue, setValue |
| Methods inherited from class com.google.gwt.user.client.ui.FocusWidget |
|---|
addBlurHandler, addClickHandler, addClickListener, addDoubleClickHandler, 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 com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.user.client.ui.SourcesChangeEvents |
|---|
removeChangeListener |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Methods inherited from interface com.google.gwt.event.dom.client.HasKeyUpHandlers |
|---|
addKeyUpHandler |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Field Detail |
|---|
public static final String CLASSNAME
| Constructor Detail |
|---|
public VTextArea()
| Method Detail |
|---|
public void updateFromUIDL(UIDL uidl,
ApplicationConnection client)
updateFromUIDL in interface PaintableupdateFromUIDL in class VTextFieldprotected void enforceMaxLength()
protected boolean browserSupportsMaxLengthAttribute()
protected void updateMaxLength(int maxLength)
VTextField
updateMaxLength in class VTextFieldmaxLength - The new max lengthpublic void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent in interface com.google.gwt.user.client.EventListeneronBrowserEvent in class VTextFieldpublic void setRows(int rows)
public int getCursorPos()
getCursorPos in class com.google.gwt.user.client.ui.ValueBoxBase<String>public void onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
onKeyDown in interface com.google.gwt.event.dom.client.KeyDownHandleronKeyDown in class VTextField
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||