qx.ui.form
Class TextField

java.lang.Object
  extended by qx.core.Object
      extended by qx.core.Target
          extended by qx.ui.core.Widget
              extended by qx.ui.basic.Terminator
                  extended by qx.ui.form.TextField
Direct Known Subclasses:
PasswordField, TextArea

public class TextField
extends Terminator

An advanced wrapper for the HTML <input type=“text”> tag.

It is used for textual user input.


Field Summary
 
Fields inherited from class qx.ui.core.Widget
AUTO
 
Constructor Summary
TextField()
           
TextField(java.lang.String value)
           
 
Method Summary
 void _afterAppear()
          Apply _ieFirstInputFix() in the appear event of the widget.
 void _applyCursor(java.lang.String value, java.lang.String old)
          Applies changes of the property value of the property cursor.
 void _applyElement(java.lang.Object value, java.lang.Object old)
          Applies changes of the property value of the property element.
 void _applyEnabled(java.lang.Object value, java.lang.Object old)
          Apply the enabled property.
 void _applyFont(java.lang.Object value, java.lang.Object old)
           
 void _applyMaxLength(java.lang.Object value, java.lang.Object old)
          Apply the maxLength property.
 void _applyReadOnly(java.lang.Object value, java.lang.Object old)
          Apply the readOnly property.
 void _applySpellCheck(boolean value, boolean old)
          Applies changes of the property value of the property spellCheck.
 void _applyTextAlign(java.lang.Object value, java.lang.Object old)
          Applies changes of the property value of the property textAlign.
 void _applyTextColor(java.lang.Object value, java.lang.Object old)
           
 void _applyValue(java.lang.Object value, java.lang.Object old)
          Apply the value property
 void _changeInnerHeight(int value, int old)
          Changes the inner height of the text field.
 void _changeInnerWidth(int value, int old)
          Changes the inner width of the text field.
 java.lang.Integer _computePreferredInnerHeight()
          Returns the preferred inner height of the widget.
 java.lang.Integer _computePreferredInnerWidth()
          Returns the preferred inner width of the widget.
 void _ieFirstInputFix()
          Fix IE’s input event for filled text fields
 void _onblur()
          Blur event handler.
 void _onfocus()
          Focus event handler.
 void _oninput()
          Input event handler.
 void _ontabfocus()
          Tab focus event handler
 void _postApply()
          We could not use width/height = 100% because the outer elements could have paddings and borders which will break.
 void _renderCursor()
          Renders the cursor using the styleProperty cursor directly.
 void _renderFont()
          Renders the new font
 void _renderSpellCheck()
          Applies the spell check to the DOM element.
 void _renderTextAlign()
          Renders the text align using the styleProperty textAlign directly.
 void _renderTextColor()
          Renders the color using the styleProperty color directly.
 void _styleFont(Font value)
          Utility method to render the given font.
 void _styleTextColor(java.lang.String value)
          Sync color to embedded input element
 void _syncFieldHeight()
          Synchronizes the styleProperty width with the current innerWidth
 void _syncFieldWidth()
          Synchronizes the styleProperty width with the current innerWidth
 void _visualizeBlur()
          Overridden from Widget._visualizeFocus(): set the focus to the inputElement and not to the parent div.
 void _visualizeFocus()
          Overridden from Widget._visualizeFocus(): set the focus to the inputElement and not to the parent div.
 java.lang.String getComputedValue()
          Return the current value of the text field.
 java.lang.Object getInputElement()
          Returns the inner input element.
 boolean getLiveUpdate()
          Returns the (computed) value of the property liveUpdate.
 java.lang.Integer getMaxLength()
          Returns the (computed) value of the property maxLength.
 boolean getReadOnly()
          Returns the (computed) value of the property readOnly.
 int getSelectionLength()
          Get the number of charaters in the current selection.
 int getSelectionStart()
          Get the start index of the text selection in the field.
 java.lang.String getSelectionText()
          Get the text value of the current selection.
 boolean getSpellCheck()
          Returns the (computed) value of the property spellCheck.
 java.lang.Object getTextAlign()
          Returns the (computed) value of the property textAlign.
 java.lang.Object getValidator()
          Returns the (computed) value of the property validator.
 java.lang.Object getValue()
          Returns the (computed) value of the property value.
 void initLiveUpdate(boolean arg)
          Calls the apply method and dispatches the change event of the property liveUpdate with the default value defined by the class developer.
 void initMaxLength(java.lang.Integer arg)
          Calls the apply method and dispatches the change event of the property maxLength with the default value defined by the class developer.
 void initReadOnly(boolean arg)
          Calls the apply method and dispatches the change event of the property readOnly with the default value defined by the class developer.
 void initSpellCheck(boolean arg)
          Calls the apply method and dispatches the change event of the property spellCheck with the default value defined by the class developer.
 void initTextAlign(java.lang.Object arg)
          Calls the apply method and dispatches the change event of the property textAlign with the default value defined by the class developer.
 void initValidator(java.lang.Object arg)
          Calls the apply method and dispatches the change event of the property validator with the default value defined by the class developer.
 void initValue(java.lang.Object arg)
          Calls the apply method and dispatches the change event of the property value with the default value defined by the class developer.
 boolean isComputedValid()
          Whether the current text of the text field returned by getComputedValue() is valid.
 boolean isLiveUpdate()
          Check whether the (computed) value of the boolean property liveUpdate equals true.
 boolean isReadOnly()
          Check whether the (computed) value of the boolean property readOnly equals true.
 boolean isSpellCheck()
          Check whether the (computed) value of the boolean property spellCheck equals true.
 boolean isValid()
          Whether the value of the value property is valid.
 void resetLiveUpdate()
          Resets the user value of the property liveUpdate.
 void resetMaxLength()
          Resets the user value of the property maxLength.
 void resetReadOnly()
          Resets the user value of the property readOnly.
 void resetSpellCheck()
          Resets the user value of the property spellCheck.
 void resetTextAlign()
          Resets the user value of the property textAlign.
 void resetValidator()
          Resets the user value of the property validator.
 void resetValue()
          Resets the user value of the property value.
 void selectAll()
          Select all text in the input field.
 void selectFromTo(int vStart, int vEnd)
          Select text within a given index range in the input field.
 void setLiveUpdate(boolean arg)
          Sets the user value of the property liveUpdate.
 void setMaxLength(java.lang.Integer arg)
          Sets the user value of the property maxLength.
 void setReadOnly(boolean arg)
          Sets the user value of the property readOnly.
 void setSelectionLength(int vLength)
          Set the length of the selection.
 void setSelectionStart(int vStart)
          Set the start index of the text selection in the field.
 void setSelectionText(java.lang.String vText)
          Set the text of the current selection.
 void setSpellCheck(boolean arg)
          Sets the user value of the property spellCheck.
 void setTextAlign(java.lang.Object arg)
          Sets the user value of the property textAlign.
 void setValidator(java.lang.Object arg)
          Sets the user value of the property validator.
 void setValue(java.lang.Object arg)
          Sets the user value of the property value.
 boolean toggleLiveUpdate()
          Toggles the (computed) value of the boolean property liveUpdate.
 boolean toggleReadOnly()
          Toggles the (computed) value of the boolean property readOnly.
 boolean toggleSpellCheck()
          Toggles the (computed) value of the boolean property spellCheck.
 
Methods inherited from class qx.ui.basic.Terminator
_computeBoxHeightFallback, _computeBoxWidthFallback, _isHeightEssential, _isWidthEssential, _layoutPost, _renderContent, renderPadding
 
Methods inherited from class qx.ui.core.Widget
_afterDisappear, _afterInsertDom, _afterRemoveDom, _applyAppearance, _applyBackgroundColor, _applyBackgroundImage, _applyBackgroundRepeat, _applyBorder, _applyBottom, _applyCapture, _applyClip, _applyCommand, _applyDisplay, _applyElementData, _applyFocused, _applyFont, _applyHeight, _applyHideFocus, _applyHtmlAttributes, _applyHtmlProperties, _applyLeft, _applyMarginBottom, _applyMarginLeft, _applyMarginRight, _applyMarginTop, _applyMaxHeight, _applyMaxWidth, _applyMinHeight, _applyMinWidth, _applyOpacity, _applyOverflow, _applyPaddingBottom, _applyPaddingLeft, _applyPaddingRight, _applyPaddingTop, _applyParent, _applyRight, _applySelectable, _applyStateStyleFocus, _applyStyleProperties, _applyTabIndex, _applyTextColor, _applyTop, _applyVisibility, _applyWidth, _applyZIndex, _beforeAppear, _beforeDisappear, _beforeInsertDom, _beforeRemoveDom, _checkParent, _compileClipString, _computeBoxHeight, _computeBoxWidth, _computeDisplayable, _computeFrameHeight, _computeFrameWidth, _computeHasAutoX, _computeHasAutoY, _computeHasFlexX, _computeHasFlexY, _computeHasPercentX, _computeHasPercentY, _computeInnerHeight, _computeInnerWidth, _computeOuterHeight, _computeOuterWidth, _computePreferredBoxHeight, _computePreferredBoxWidth, _computeValuePercentX, _computeValuePercentXLimit, _computeValuePercentY, _computeValuePercentYLimit, _computeValuePixel, _computeValuePixelLimit, _createElementImpl, _evalUnitsPixelPercent, _evalUnitsPixelPercentAuto, _evalUnitsPixelPercentAutoFlex, _flushJobQueue, _generateHtmlId, _getTargetNode, _handleDisplayable, _invalidateFrameDimensions, _invalidatePreferredInnerDimensions, _queueBorder, _recomputeFlexX, _recomputeFlexY, _recomputePercentX, _recomputePercentY, _recomputeRangeX, _recomputeRangeY, _recomputeStretchingX, _recomputeStretchingY, _recursiveAppearanceThemeUpdate, _renderAppearance, _renderOverflow, _resetAppearanceThemeWrapper, _styleBackgroundColor, _styleBackgroundImage, _styleFromMap, _unitDetectionPixelPercent, _unitDetectionPixelPercentAuto, _unitDetectionPixelPercentAutoFlex, _unstyleFromArray, _visualPropertyCheck, addState, addToDocument, addToJobQueue, addToLayoutChanges, addToQueue, addToQueueRuntime, addToStateQueue, auto, blur, connect, contains, disconnect, execute, focus, getActiveChild, getAllowStretchX, getAllowStretchY, getAnonymous, getAppearance, getBackgroundColor, getBackgroundImage, getBackgroundRepeat, getBorder, getBottom, getBottomValue, getCapture, getChildren, getChildrenLength, getClientHeight, getClientWidth, getClipHeight, getClipLeft, getClipTop, getClipWidth, getCommand, getContextMenu, getCursor, getDisplay, getDropDataTypes, getElement, getEnabled, getEnableElementFocus, getFocused, getFocusRoot, getFont, getHeight, getHeightValue, getHideFocus, getHorizontalAlign, getHtmlAttribute, getHtmlProperty, getLeft, getLeftValue, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxHeightValue, getMaxWidth, getMaxWidthValue, getMinHeight, getMinHeightValue, getMinWidth, getMinWidthValue, getNeededHeight, getNeededWidth, getNextActiveSibling, getNextSibling, getNextVisibleSibling, getOffsetHeight, getOffsetLeft, getOffsetTop, getOffsetWidth, getOpacity, getOverflow, getOverflowX, getOverflowY, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getParent, getPreviousActiveSibling, getPreviousSibling, getPreviousVisibleSibling, getRight, getRightValue, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSelectable, getStyleProperty, getSupportsDropMethod, getTabIndex, getTextColor, getToolTip, getTop, getTopLevelWidget, getTopValue, getVerticalAlign, getVisibility, getVisibleChildren, getVisibleChildrenLength, getWidth, getWidthValue, getZIndex, hasChildren, hasState, hasVisibleChildren, hide, indexOf, initAllowStretchX, initAllowStretchY, initAnonymous, initAppearance, initBackgroundColor, initBackgroundImage, initBackgroundRepeat, initBorder, initBottom, initCapture, initClipHeight, initClipLeft, initClipTop, initClipWidth, initCommand, initContextMenu, initCursor, initDisplay, initDropDataTypes, initElement, initEnabled, initEnableElementFocus, initFocused, initFont, initHeight, initHideFocus, initHorizontalAlign, initLeft, initMarginBottom, initMarginLeft, initMarginRight, initMarginTop, initMaxHeight, initMaxWidth, initMinHeight, initMinWidth, initOpacity, initOverflow, initPaddingBottom, initPaddingLeft, initPaddingRight, initPaddingTop, initParent, initRight, initSelectable, initSupportsDropMethod, initTabIndex, initTextColor, initToolTip, initTop, initVerticalAlign, initVisibility, initWidth, initZIndex, isAllowStretchX, isAllowStretchY, isAnonymous, isAppearRelevant, isCapture, isCreated, isDisplay, isDisplayable, isEmpty, isEnabled, isEnableElementFocus, isFirstChild, isFirstVisibleChild, isFocusable, isFocused, isFocusRoot, isHideFocus, isLastChild, isLastVisibleChild, isMaterialized, isSeeable, isSelectable, isVisibility, isVisibleEmpty, moveSelfAfter, moveSelfBefore, moveSelfToBegin, moveSelfToEnd, pack, recursiveAddToStateQueue, removeHtmlAttribute, removeHtmlProperty, removeState, removeStyleProperty, resetAlign, resetAllowStretchX, resetAllowStretchY, resetAnonymous, resetAppearance, resetBackgroundColor, resetBackgroundImage, resetBackgroundRepeat, resetBorder, resetBottom, resetCapture, resetClip, resetClipDimension, resetClipHeight, resetClipLeft, resetClipLocation, resetClipTop, resetClipWidth, resetCommand, resetContextMenu, resetCursor, resetDimension, resetDisplay, resetDropDataTypes, resetEdge, resetElement, resetEnabled, resetEnableElementFocus, resetFocused, resetFont, resetHeight, resetHeights, resetHideFocus, resetHorizontalAlign, resetLeft, resetLocation, resetMargin, resetMarginBottom, resetMarginLeft, resetMarginRight, resetMarginTop, resetMaxHeight, resetMaxWidth, resetMinHeight, resetMinWidth, resetOpacity, resetOverflow, resetPadding, resetPaddingBottom, resetPaddingLeft, resetPaddingRight, resetPaddingTop, resetParent, resetRight, resetSelectable, resetSpace, resetSupportsDropMethod, resetTabIndex, resetTextColor, resetToolTip, resetTop, resetVerticalAlign, resetVisibility, resetWidth, resetWidths, resetZIndex, scrollIntoView, scrollIntoViewX, scrollIntoViewY, setAlign, setAllowStretchX, setAllowStretchY, setAnonymous, setAppearance, setBackgroundColor, setBackgroundImage, setBackgroundRepeat, setBorder, setBottom, setCapture, setClip, setClipDimension, setClipHeight, setClipLeft, setClipLocation, setClipTop, setClipWidth, setCommand, setContextMenu, setCursor, setDimension, setDisplay, setDropDataTypes, setEdge, setElement, setEnabled, setEnableElementFocus, setFocused, setFont, setHeight, setHeights, setHideFocus, setHorizontalAlign, setHtmlAttribute, setHtmlProperty, setLeft, setLocation, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOpacity, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setParent, setRight, setScrollLeft, setScrollTop, setSelectable, setSpace, setStyleProperty, setSupportsDropMethod, setTabIndex, setTextColor, setToolTip, setTop, setVerticalAlign, setVisibility, setWidth, setWidths, setZIndex, show, supportsDrop, toggleAllowStretchX, toggleAllowStretchY, toggleAnonymous, toggleCapture, toggleDisplay, toggleEnabled, toggleEnableElementFocus, toggleFocused, toggleHideFocus, toggleSelectable, toggleVisibility
 
Methods inherited from class qx.core.Target
_dispatchEvent, addChangeSelectionListener, addChangeValueListener, addEventListener, addExecuteListener, addJavaEventListener, createDispatchChangeEvent, createDispatchDataEvent, createDispatchEvent, dispatchEvent, hasEventListeners, removeEventListener
 
Methods inherited from class qx.core.Object
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextField

public TextField()

TextField

public TextField(java.lang.String value)
Method Detail

_afterAppear

public void _afterAppear()

Apply _ieFirstInputFix() in the appear event of the widget.

Overrides:
_afterAppear in class Widget

_applyCursor

public void _applyCursor(java.lang.String value,
                         java.lang.String old)

Applies changes of the property value of the property cursor.

For further details take a look at the property definition: _applyCursor(java.lang.String, java.lang.String).

Overrides:
_applyCursor in class Widget

_applyElement

public void _applyElement(java.lang.Object value,
                          java.lang.Object old)

Applies changes of the property value of the property element.

For further details take a look at the property definition: _applyElement(java.lang.Object, java.lang.Object).

Overrides:
_applyElement in class Widget

_applyEnabled

public void _applyEnabled(java.lang.Object value,
                          java.lang.Object old)

Apply the enabled property.

Overrides:
_applyEnabled in class Widget

_applyFont

public void _applyFont(java.lang.Object value,
                       java.lang.Object old)

_applyMaxLength

public void _applyMaxLength(java.lang.Object value,
                            java.lang.Object old)

Apply the maxLength property.


_applyReadOnly

public void _applyReadOnly(java.lang.Object value,
                           java.lang.Object old)

Apply the readOnly property.


_applySpellCheck

public void _applySpellCheck(boolean value,
                             boolean old)

Applies changes of the property value of the property spellCheck.

For further details take a look at the property definition: _applySpellCheck(boolean, boolean).


_applyTextAlign

public void _applyTextAlign(java.lang.Object value,
                            java.lang.Object old)

Applies changes of the property value of the property textAlign.

For further details take a look at the property definition: _applyTextAlign(java.lang.Object, java.lang.Object).


_applyTextColor

public void _applyTextColor(java.lang.Object value,
                            java.lang.Object old)

_applyValue

public void _applyValue(java.lang.Object value,
                        java.lang.Object old)

Apply the value property


_changeInnerHeight

public void _changeInnerHeight(int value,
                               int old)

Changes the inner height of the text field. Calls the protected method _syncFieldHeight() to sync the inner height.


_changeInnerWidth

public void _changeInnerWidth(int value,
                              int old)

Changes the inner width of the text field. Calls the protected method _syncFieldWidth() to sync the inner width.


_computePreferredInnerHeight

public java.lang.Integer _computePreferredInnerHeight()
Description copied from class: Terminator

Returns the preferred inner height of the widget. This value is used by the layout managers to calculate the actual size of the widget.

Overrides:
_computePreferredInnerHeight in class Terminator

_computePreferredInnerWidth

public java.lang.Integer _computePreferredInnerWidth()
Description copied from class: Terminator

Returns the preferred inner width of the widget. This value is used by the layout managers to calculate the actual size of the widget.

Overrides:
_computePreferredInnerWidth in class Terminator

_ieFirstInputFix

public void _ieFirstInputFix()

Fix IE’s input event for filled text fields


_onblur

public void _onblur()

Blur event handler.


_onfocus

public void _onfocus()

Focus event handler.


_oninput

public void _oninput()

Input event handler.


_ontabfocus

public void _ontabfocus()

Tab focus event handler


_postApply

public void _postApply()

We could not use width/height = 100% because the outer elements could have paddings and borders which will break. We use the computed inner width/height instead

Overrides:
_postApply in class Terminator

_renderCursor

public void _renderCursor()

Renders the cursor using the styleProperty cursor directly.


_renderFont

public void _renderFont()

Renders the new font


_renderSpellCheck

public void _renderSpellCheck()

Applies the spell check to the DOM element.


_renderTextAlign

public void _renderTextAlign()

Renders the text align using the styleProperty textAlign directly.


_renderTextColor

public void _renderTextColor()

Renders the color using the styleProperty color directly.


_styleFont

public void _styleFont(Font value)

Utility method to render the given font. Calls the _renderFont() method.


_styleTextColor

public void _styleTextColor(java.lang.String value)

Sync color to embedded input element


_syncFieldHeight

public void _syncFieldHeight()

Synchronizes the styleProperty width with the current innerWidth


_syncFieldWidth

public void _syncFieldWidth()

Synchronizes the styleProperty width with the current innerWidth


_visualizeBlur

public void _visualizeBlur()

Overridden from Widget._visualizeFocus(): set the focus to the inputElement and not to the parent div.

Overrides:
_visualizeBlur in class Widget

_visualizeFocus

public void _visualizeFocus()

Overridden from Widget._visualizeFocus(): set the focus to the inputElement and not to the parent div.

Overrides:
_visualizeFocus in class Widget

getComputedValue

public java.lang.String getComputedValue()

Return the current value of the text field. The computed values is independent of the value of the liveUpdate property.


getInputElement

public java.lang.Object getInputElement()

Returns the inner input element.


getLiveUpdate

public boolean getLiveUpdate()

Returns the (computed) value of the property liveUpdate.

For further details take a look at the property definition: liveUpdate.


getMaxLength

public java.lang.Integer getMaxLength()

Returns the (computed) value of the property maxLength.

For further details take a look at the property definition: maxLength.


getReadOnly

public boolean getReadOnly()

Returns the (computed) value of the property readOnly.

For further details take a look at the property definition: readOnly.


getSelectionLength

public int getSelectionLength()

Get the number of charaters in the current selection.


getSelectionStart

public int getSelectionStart()

Get the start index of the text selection in the field.


getSelectionText

public java.lang.String getSelectionText()

Get the text value of the current selection.


getSpellCheck

public boolean getSpellCheck()

Returns the (computed) value of the property spellCheck.

For further details take a look at the property definition: spellCheck.


getTextAlign

public java.lang.Object getTextAlign()

Returns the (computed) value of the property textAlign.

For further details take a look at the property definition: textAlign.


getValidator

public java.lang.Object getValidator()

Returns the (computed) value of the property validator.

For further details take a look at the property definition: validator.


getValue

public java.lang.Object getValue()

Returns the (computed) value of the property value.

For further details take a look at the property definition: value.


initLiveUpdate

public void initLiveUpdate(boolean arg)

Calls the apply method and dispatches the change event of the property liveUpdate with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: liveUpdate.


initMaxLength

public void initMaxLength(java.lang.Integer arg)

Calls the apply method and dispatches the change event of the property maxLength with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: maxLength.


initReadOnly

public void initReadOnly(boolean arg)

Calls the apply method and dispatches the change event of the property readOnly with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: readOnly.


initSpellCheck

public void initSpellCheck(boolean arg)

Calls the apply method and dispatches the change event of the property spellCheck with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: spellCheck.


initTextAlign

public void initTextAlign(java.lang.Object arg)

Calls the apply method and dispatches the change event of the property textAlign with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: textAlign.


initValidator

public void initValidator(java.lang.Object arg)

Calls the apply method and dispatches the change event of the property validator with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: validator.


initValue

public void initValue(java.lang.Object arg)

Calls the apply method and dispatches the change event of the property value with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: value.


isComputedValid

public boolean isComputedValid()

Whether the current text of the text field returned by getComputedValue() is valid. The validatore function (validator) is used to validate the text.


isLiveUpdate

public boolean isLiveUpdate()

Check whether the (computed) value of the boolean property liveUpdate equals true.

For further details take a look at the property definition: liveUpdate.


isReadOnly

public boolean isReadOnly()

Check whether the (computed) value of the boolean property readOnly equals true.

For further details take a look at the property definition: readOnly.


isSpellCheck

public boolean isSpellCheck()

Check whether the (computed) value of the boolean property spellCheck equals true.

For further details take a look at the property definition: spellCheck.


isValid

public boolean isValid()

Whether the value of the value property is valid. The validatore function (validator) is used to validate the text.


resetLiveUpdate

public void resetLiveUpdate()

Resets the user value of the property liveUpdate.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: liveUpdate.


resetMaxLength

public void resetMaxLength()

Resets the user value of the property maxLength.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: maxLength.


resetReadOnly

public void resetReadOnly()

Resets the user value of the property readOnly.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: readOnly.


resetSpellCheck

public void resetSpellCheck()

Resets the user value of the property spellCheck.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: spellCheck.


resetTextAlign

public void resetTextAlign()

Resets the user value of the property textAlign.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: textAlign.


resetValidator

public void resetValidator()

Resets the user value of the property validator.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: validator.


resetValue

public void resetValue()

Resets the user value of the property value.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: value.


selectAll

public void selectAll()

Select all text in the input field.


selectFromTo

public void selectFromTo(int vStart,
                         int vEnd)

Select text within a given index range in the input field.


setLiveUpdate

public void setLiveUpdate(boolean arg)

Sets the user value of the property liveUpdate.

For further details take a look at the property definition: liveUpdate.


setMaxLength

public void setMaxLength(java.lang.Integer arg)

Sets the user value of the property maxLength.

For further details take a look at the property definition: maxLength.


setReadOnly

public void setReadOnly(boolean arg)

Sets the user value of the property readOnly.

For further details take a look at the property definition: readOnly.


setSelectionLength

public void setSelectionLength(int vLength)

Set the length of the selection. The selection starts at the index specified by the method setSelectionStart(int).


setSelectionStart

public void setSelectionStart(int vStart)

Set the start index of the text selection in the field.


setSelectionText

public void setSelectionText(java.lang.String vText)

Set the text of the current selection.


setSpellCheck

public void setSpellCheck(boolean arg)

Sets the user value of the property spellCheck.

For further details take a look at the property definition: spellCheck.


setTextAlign

public void setTextAlign(java.lang.Object arg)

Sets the user value of the property textAlign.

For further details take a look at the property definition: textAlign.


setValidator

public void setValidator(java.lang.Object arg)

Sets the user value of the property validator.

For further details take a look at the property definition: validator.


setValue

public void setValue(java.lang.Object arg)

Sets the user value of the property value.

For further details take a look at the property definition: value.


toggleLiveUpdate

public boolean toggleLiveUpdate()

Toggles the (computed) value of the boolean property liveUpdate.

For further details take a look at the property definition: liveUpdate.


toggleReadOnly

public boolean toggleReadOnly()

Toggles the (computed) value of the boolean property readOnly.

For further details take a look at the property definition: readOnly.


toggleSpellCheck

public boolean toggleSpellCheck()

Toggles the (computed) value of the boolean property spellCheck.

For further details take a look at the property definition: spellCheck.



Copyright © 2008 1&1. All Rights Reserved.