VGSEditText

open class VGSEditText @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : InputFieldView

A user interface element that displays text.

Since

1.0.0

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0)

Functions

Link copied to clipboard
Link copied to clipboard
open fun addFocusables(p0: ArrayList<View>, p1: Int)
open override fun addFocusables(p0: ArrayList<View>, p1: Int, p2: Int)
Link copied to clipboard
Link copied to clipboard

Adds a OnTextChangedListener to the list of those whose methods are called whenever this field text changes.

Link copied to clipboard
fun addRule(rule: VGSInfoRule)

Adds a validation rule for the field.

Link copied to clipboard
Link copied to clipboard
open override fun addTouchables(p0: ArrayList<View>)
Link copied to clipboard
open override fun addView(child: View?)
open override fun addView(child: View?, params: ViewGroup.LayoutParams?)
open override fun addView(child: View?, index: Int)
open override fun addView(child: View?, index: Int, params: ViewGroup.LayoutParams?)
open override fun addView(child: View?, width: Int, height: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Adds a validation rule for the field.

Link copied to clipboard
Link copied to clipboard
open override fun bringChildToFront(p0: View)
Link copied to clipboard
open fun bringToFront()
Link copied to clipboard
Link copied to clipboard
open fun buildLayer()
Link copied to clipboard
open fun callOnClick(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun cancelLongPress()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

open fun canScrollHorizontally(canScroll: Boolean)

Sets whether the text should be allowed to be wider than the View is. If false, it will be wrapped to the width of the View.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun childDrawableStateChanged(p0: View)
Link copied to clipboard
open override fun childHasTransientStateChanged(p0: View, p1: Boolean)
Link copied to clipboard
open fun clearAnimation()
Link copied to clipboard
open override fun clearChildFocus(p0: View)
Link copied to clipboard
Link copied to clipboard
open override fun clearFocus()

Called when this view wants to give up focus. If focus is cleared onFocusChanged(boolean, int, android.graphics.Rect) is called.

Link copied to clipboard
Link copied to clipboard
open fun computeScroll()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun dispatchDisplayHint(p0: Int)
Link copied to clipboard
open override fun dispatchDragEvent(p0: DragEvent): Boolean
Link copied to clipboard
open override fun dispatchDrawableHotspotChanged(p0: Float, p1: Float)
Link copied to clipboard
open override fun dispatchFinishTemporaryDetach()
Link copied to clipboard
open override fun dispatchKeyEvent(p0: KeyEvent): Boolean
Link copied to clipboard
open override fun dispatchKeyEventPreIme(p0: KeyEvent): Boolean
Link copied to clipboard
open override fun dispatchKeyShortcutEvent(p0: KeyEvent): Boolean
Link copied to clipboard
open fun dispatchNestedFling(p0: Float, p1: Float, p2: Boolean): Boolean
Link copied to clipboard
Link copied to clipboard
open fun dispatchNestedPreScroll(p0: Int, p1: Int, p2: IntArray?, p3: IntArray?): Boolean
Link copied to clipboard
open fun dispatchNestedScroll(p0: Int, p1: Int, p2: Int, p3: Int, p4: IntArray?): Boolean
Link copied to clipboard
open override fun dispatchPointerCaptureChanged(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun dispatchSetActivated(p0: Boolean)
Link copied to clipboard
open override fun dispatchSetSelected(p0: Boolean)
Link copied to clipboard
open override fun dispatchStartTemporaryDetach()
Link copied to clipboard
open override fun dispatchSystemUiVisibilityChanged(p0: Int)
Link copied to clipboard
open override fun dispatchTouchEvent(p0: MotionEvent): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun dispatchUnhandledMove(p0: View, p1: Int): Boolean
Link copied to clipboard
open override fun dispatchWindowFocusChanged(p0: Boolean)
Link copied to clipboard
open override fun dispatchWindowVisibilityChanged(p0: Int)
Link copied to clipboard
open fun draw(p0: Canvas)
Link copied to clipboard
Link copied to clipboard
fun enableValidation(isEnabled: Boolean)

Set the validation state of this view.

Link copied to clipboard
open fun endViewTransition(p0: View)
Link copied to clipboard
open override fun findFocus(): View?

Find the view in the hierarchy rooted at this view that currently has focus.

Link copied to clipboard
fun <T : View> findViewById(p0: Int): T
Link copied to clipboard
open override fun findViewsWithText(p0: ArrayList<View>, p1: CharSequence, p2: Int)
Link copied to clipboard
fun <T : View> findViewWithTag(p0: Any): T
Link copied to clipboard
open override fun focusableViewAvailable(p0: View)
Link copied to clipboard
open fun focusSearch(p0: Int): View
open override fun focusSearch(p0: View, p1: Int): View
Link copied to clipboard
Link copied to clipboard
open fun forceLayout()
Link copied to clipboard
open override fun gatherTransparentRegion(p0: Region?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getAlpha(): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getAutofillType(): Int
Link copied to clipboard
Link copied to clipboard
open override fun getBackground(): Drawable?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getBaseline(): Int
Link copied to clipboard
fun getBottom(): Int
Link copied to clipboard
Link copied to clipboard
open fun getChildAt(p0: Int): View
Link copied to clipboard
open fun getChildCount(): Int
Link copied to clipboard
Link copied to clipboard
open override fun getChildVisibleRect(p0: View, p1: Rect, p2: Point): Boolean
Link copied to clipboard
open fun getClipBounds(): Rect
open fun getClipBounds(p0: Rect): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDisplay(): Display
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDrawingRect(p0: Rect)
Link copied to clipboard
open fun getDrawingTime(): Long
Link copied to clipboard
open fun getElevation(): Float
Link copied to clipboard
open fun getExplicitStyle(): Int
Link copied to clipboard
open fun getFieldName(): String?

Return the text that field is using for data transfer to VGS proxy.

Link copied to clipboard

Gets the current field type of the InputFieldView.

Link copied to clipboard
Link copied to clipboard
open fun getFocusable(): Int
Link copied to clipboard
Link copied to clipboard
open fun getFocusedChild(): View
Link copied to clipboard
open fun getFocusedRect(p0: Rect)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getGravity(): Int

Returns the horizontal and vertical alignment of this TextView.

Link copied to clipboard
open fun getHandler(): Handler
Link copied to clipboard
fun getHeight(): Int
Link copied to clipboard
open fun getHitRect(p0: Rect)
Link copied to clipboard
Link copied to clipboard
open fun getId(): Int
Link copied to clipboard

Get the type of the Input Method Editor (IME).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getInputType(): Int

Get the type of the editable content.

Link copied to clipboard
Link copied to clipboard
open fun getLabelFor(): Int
Link copied to clipboard
open fun getLayerType(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getLayoutMode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getLeft(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMatrix(): Matrix
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMinimumHeight(): Int
Link copied to clipboard
open fun getMinimumWidth(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getNextFocusUpId(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getOverlay(): ViewGroupOverlay
Link copied to clipboard
Link copied to clipboard
open override fun getPaddingBottom(): Int

Returns the bottom padding of this view. If there are inset and enabled scrollbars, this value may include the space required to display the scrollbars as well.

Link copied to clipboard
open override fun getPaddingEnd(): Int

Returns the end padding of this view depending on its resolved layout direction. If there are inset and enabled scrollbars, this value may include the space required to display the scrollbars as well.

Link copied to clipboard
open override fun getPaddingLeft(): Int

Returns the left padding of this view. If there are inset and enabled scrollbars, this value may include the space required to display the scrollbars as well.

Link copied to clipboard
open override fun getPaddingRight(): Int

Returns the right padding of this view. If there are inset and enabled scrollbars, this value may include the space required to display the scrollbars as well.

Link copied to clipboard
open override fun getPaddingStart(): Int

Returns the start padding of this view depending on its resolved layout direction. If there are inset and enabled scrollbars, this value may include the space required to display the scrollbars as well.

Link copied to clipboard
open override fun getPaddingTop(): Int

Returns the top padding of this view.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getPivotX(): Float
Link copied to clipboard
open fun getPivotY(): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getRight(): Int
Link copied to clipboard
open fun getRootView(): View
Link copied to clipboard
Link copied to clipboard
open fun getRotation(): Float
Link copied to clipboard
open fun getRotationX(): Float
Link copied to clipboard
open fun getRotationY(): Float
Link copied to clipboard
open fun getScaleX(): Float
Link copied to clipboard
open fun getScaleY(): Float
Link copied to clipboard
Link copied to clipboard
open fun getScrollBarSize(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getSolidColor(): Int
Link copied to clipboard
Link copied to clipboard

It return current state of the field.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getTag(): Any
open fun getTag(p0: Int): Any
Link copied to clipboard
open fun getTextAlignment(): Int
Link copied to clipboard
open fun getTextDirection(): Int
Link copied to clipboard
Link copied to clipboard
fun getTop(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getTypeface(): Typeface?

Gets the current Typeface that is used to style the text.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getVisibility(): Int
Link copied to clipboard
fun getWidth(): Int
Link copied to clipboard
open fun getWindowId(): WindowId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getX(): Float
Link copied to clipboard
open fun getY(): Float
Link copied to clipboard
open fun getZ(): Float
Link copied to clipboard
Link copied to clipboard
open override fun hasFocus(): Boolean

Returns true if this view has focus itself, or is the ancestor of the view that has focus.

Link copied to clipboard
open fun hasFocusable(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun hasTransientState(): Boolean
Link copied to clipboard
Link copied to clipboard

Request to hide the soft input window from the context of the window that is currently accepting input.

Link copied to clipboard
open fun indexOfChild(p0: View): Int
Link copied to clipboard
open fun invalidate()
open fun invalidate(p0: Rect)
open fun invalidate(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
override fun invalidateChild(p0: View, p1: Rect)
Link copied to clipboard
open override fun invalidateChildInParent(p0: IntArray, p1: Rect): ViewParent
Link copied to clipboard
open override fun invalidateDrawable(p0: Drawable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isActivated(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isClickable(): Boolean
Link copied to clipboard

Returns true if view content same, false otherwise.

Link copied to clipboard
Link copied to clipboard
open fun isCredential(): Boolean
Link copied to clipboard
open fun isDirty(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isEnabled(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun isFocused(): Boolean

Returns true if this view has focus

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isHovered(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isInEditMode(): Boolean
Link copied to clipboard
open fun isInLayout(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isLaidOut(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isOpaque(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isPivotSet(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isPressed(): Boolean
Link copied to clipboard
open fun isRequired(): Boolean

Specifies whether the text inside input field is required to be filled before sending. If the field doesn't require, then it may be sent to the server as empty.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isSelected(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isShown(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Returns the validation status for this view.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun jumpDrawablesToCurrentState()
Link copied to clipboard
Link copied to clipboard
override fun layout(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
fun measure(p0: Int, p1: Int)
Link copied to clipboard
open override fun notifySubtreeAccessibilityStateChanged(p0: View, p1: View, p2: Int)
Link copied to clipboard
open fun offsetLeftAndRight(p0: Int)
Link copied to clipboard
open fun offsetTopAndBottom(p0: Int)
Link copied to clipboard
Link copied to clipboard
open override fun onAttachedToWindow()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onDescendantInvalidated(p0: View, p1: View)
Link copied to clipboard
Link copied to clipboard
open fun onDrawForeground(p0: Canvas)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onHoverChanged(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onKeyDown(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open override fun onKeyLongPress(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open override fun onKeyMultiple(p0: Int, p1: Int, p2: KeyEvent): Boolean
Link copied to clipboard
open fun onKeyPreIme(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open fun onKeyShortcut(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open override fun onKeyUp(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open override fun onNestedFling(p0: View, p1: Float, p2: Float, p3: Boolean): Boolean
Link copied to clipboard
open override fun onNestedPreFling(p0: View, p1: Float, p2: Float): Boolean
Link copied to clipboard
open override fun onNestedPrePerformAccessibilityAction(p0: View, p1: Int, p2: Bundle?): Boolean
Link copied to clipboard
open override fun onNestedPreScroll(p0: View, p1: Int, p2: Int, p3: IntArray)
Link copied to clipboard
open override fun onNestedScroll(p0: View, p1: Int, p2: Int, p3: Int, p4: Int)
Link copied to clipboard
open override fun onNestedScrollAccepted(p0: View, p1: View, p2: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onResolvePointerIcon(p0: MotionEvent, p1: Int): PointerIcon
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onStartNestedScroll(p0: View, p1: View, p2: Int): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun onStopNestedScroll(p0: View)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onViewAdded(p0: View)
Link copied to clipboard
open fun onViewRemoved(p0: View)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun performClick(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun playSoundEffect(p0: Int)
Link copied to clipboard
open fun post(p0: Runnable): Boolean
Link copied to clipboard
open fun postDelayed(p0: Runnable, p1: Long): Boolean
Link copied to clipboard
open fun postInvalidate()
open fun postInvalidate(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open fun postInvalidateDelayed(p0: Long, p1: Int, p2: Int, p3: Int, p4: Int)
Link copied to clipboard
open fun postInvalidateOnAnimation(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun recomputeViewAttributes(p0: View)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun removeAllViews()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Removes the specified OnTextChangedListener from the list of those whose methods are called whenever this field text changes.

Link copied to clipboard
open override fun removeView(p0: View)
Link copied to clipboard
open fun removeViewAt(p0: Int)
Link copied to clipboard
open fun removeViewInLayout(p0: View)
Link copied to clipboard
open fun removeViews(p0: Int, p1: Int)
Link copied to clipboard
open fun removeViewsInLayout(p0: Int, p1: Int)
Link copied to clipboard
Link copied to clipboard
open override fun requestChildFocus(p0: View, p1: View)
Link copied to clipboard
open override fun requestChildRectangleOnScreen(p0: View, p1: Rect, p2: Boolean): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

open override fun requestFocus(direction: Int, previouslyFocusedRect: Rect?): Boolean

Call this to try to give focus to a specific view or to one of its descendants and give it hints about the direction and a specific rectangle that the focus is coming from. The rectangle can help give larger views a finer grained hint about where focus is coming from, and therefore, where to show selection, or forward focus change internally.

Link copied to clipboard
Link copied to clipboard
open fun requestLayout()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun requestTransparentRegion(p0: View)
Link copied to clipboard
fun <T : View> requireViewById(p0: Int): T & Any
Link copied to clipboard
open fun resetPivot()
Link copied to clipboard
open override fun restoreDefaultFocus(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun scheduleDrawable(p0: Drawable, p1: Runnable, p2: Long)
Link copied to clipboard
Link copied to clipboard
open fun scrollBy(p0: Int, p1: Int)
Link copied to clipboard
open fun scrollTo(p0: Int, p1: Int)
Link copied to clipboard
open override fun sendAccessibilityEvent(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setActivated(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setAlpha(p0: Float)
Link copied to clipboard
open fun setAnimation(p0: Animation)
Link copied to clipboard
Link copied to clipboard
open fun setAnimationMatrix(p0: Matrix?)
Link copied to clipboard
@RequiresApi(value = 26)
open override fun setAutofillHints(vararg autofillHints: String?)
Link copied to clipboard
@RequiresApi(value = 28)
open override fun setAutofillId(id: AutofillId?)
Link copied to clipboard
Link copied to clipboard
open override fun setBackground(background: Drawable?)
Link copied to clipboard
open override fun setBackgroundColor(color: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setBottom(p0: Int)
Link copied to clipboard
open fun setCameraDistance(p0: Float)
Link copied to clipboard
open fun setClickable(p0: Boolean)
Link copied to clipboard
open fun setClipBounds(p0: Rect)
Link copied to clipboard
open fun setClipChildren(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setContentDescription(contentDescription: CharSequence?)

Sets the View's content description.

Link copied to clipboard
Link copied to clipboard
open fun setCursorVisible(isVisible: Boolean)

Set whether the cursor is visible.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setElevation(p0: Float)
Link copied to clipboard
open fun setEllipsize(type: Int)

Causes words in the text that are longer than the view's width to be ellipsized instead of broken in the middle.

Link copied to clipboard
open override fun setEnabled(enabled: Boolean)

Set the enabled state of this view. The interpretation of the enabled state varies by subclass.

Link copied to clipboard

Defines if data requires tokenization.

Link copied to clipboard
open fun setFadingEdgeLength(p0: Int)
Link copied to clipboard
open fun setFieldName(resId: Int)
open fun setFieldName(fieldName: String?)

Sets the text to be used for data transfer to VGS proxy. Usually, it is similar to field-name in JSON path in your inbound route filters.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setFocusable(focusable: Boolean)
@RequiresApi(value = 26)
open override fun setFocusable(focusable: Int)

Set whether this view can receive the focus.

Link copied to clipboard
open override fun setFocusableInTouchMode(focusableInTouchMode: Boolean)

Set whether this view can receive focus while in touch mode.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setForeground(p0: Drawable)
Link copied to clipboard
open override fun setForegroundGravity(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setGravity(gravity: Int)

Sets the horizontal alignment of the text and the vertical gravity that will be used when there is extra space in the TextView beyond what is required for the text itself.

Link copied to clipboard
open fun setHandwritingBoundsOffsets(p0: Float, p1: Float, p2: Float, p3: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setHint(text: String?)

Sets the text to be displayed when the text of the TextView is empty. Null means to use the normal empty text. The hint does not currently participate in determining the size of the view.

Link copied to clipboard

Sets the color of the hint text.

open fun setHintTextColor(color: Int)

Sets the color of the hint text for all the states (disabled, focussed, selected...) of this TextView.

Link copied to clipboard
open fun setHovered(p0: Boolean)
Link copied to clipboard
open fun setId(p0: Int)
Link copied to clipboard
fun setImeOptions(imeOptions: Int)

Change the editor type integer associated with the text view, which is reported to an Input Method Editor when it has focus.

Link copied to clipboard
open override fun setImportantForAccessibility(mode: Int)

Sets how to determine whether this view is important for accessibility which is if it fires accessibility events and if it is reported to accessibility services that query the screen.

Link copied to clipboard
@RequiresApi(value = 26)
open override fun setImportantForAutofill(mode: Int)
Link copied to clipboard
Link copied to clipboard
open override fun setInputType(inputType: Int)

Set the type of the content with a constant as defined for input field.

Link copied to clipboard
open fun setIsCredential(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setIsRequired(state: Boolean)

Specifies whether the text inside input field is required to be filled before sending.

Link copied to clipboard
open fun setKeepScreenOn(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setLabelFor(p0: Int)
Link copied to clipboard
open fun setLayerPaint(p0: Paint?)
Link copied to clipboard
open fun setLayerType(p0: Int, p1: Paint?)
Link copied to clipboard
Link copied to clipboard
open fun setLayoutDirection(p0: Int)
Link copied to clipboard
open fun setLayoutMode(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setLeft(p0: Int)
Link copied to clipboard
fun setLeftTopRightBottom(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
fun setMaxLength(length: Int)

The max text length to display.

Link copied to clipboard
open fun setMaxLines(lines: Int)

Sets the height of the TextView to be at most maxLines tall.

Link copied to clipboard
Link copied to clipboard
open fun setMinimumHeight(p0: Int)
Link copied to clipboard
open fun setMinimumWidth(p0: Int)
Link copied to clipboard
open fun setMinLines(lines: Int)

Sets the height of the TextView to be at least minLines tall.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setNextFocusDownId(nextFocusDownId: Int)

Sets the id of the view to use when the next focus is FOCUS_DOWN.

Link copied to clipboard
open override fun setNextFocusForwardId(nextFocusForwardId: Int)

Sets the id of the view to use when the next focus is FOCUS_FORWARD.

Link copied to clipboard
open override fun setNextFocusLeftId(nextFocusLeftId: Int)

Sets the id of the view to use when the next focus is FOCUS_LEFT.

Link copied to clipboard
open override fun setNextFocusRightId(nextFocusRightId: Int)

Sets the id of the view to use when the next focus is FOCUS_RIGHT.

Link copied to clipboard
open override fun setNextFocusUpId(nextFocusUpId: Int)

Sets the id of the view to use when the next focus is FOCUS_UP.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Set a special listener to be called when an action is performed on the text view. This will be called when the enter key is pressed, or when an action supplied to the IME is selected by the user. Setting this means that the normal hard key event will not insert a newline into the text view, even if it is multi-line; holding down the ALT modifier will, however, allow the user to insert a newline character.

Link copied to clipboard

This method adds a listener whose methods are called whenever VGS secure field state changes.

Link copied to clipboard

Register a callback to be invoked when focus of this view changed.

Link copied to clipboard
Link copied to clipboard
open override fun setOnKeyListener(l: View.OnKeyListener?)

Register a callback to be invoked when a key is pressed in this view.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setOverScrollMode(p0: Int)
Link copied to clipboard
open override fun setPadding(left: Int, top: Int, right: Int, bottom: Int)

Sets the padding. The view may add on the space required to display the scrollbars, depending on the style and visibility of the scrollbars. So the values returned from getPaddingLeft(), getPaddingTop(), getPaddingRight() and getPaddingBottom() may be different from the values set in this call.

Link copied to clipboard
open fun setPaddingRelative(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
open fun setPivotX(p0: Float)
Link copied to clipboard
open fun setPivotY(p0: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setPressed(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setRight(p0: Int)
Link copied to clipboard
open fun setRotation(p0: Float)
Link copied to clipboard
open fun setRotationX(p0: Float)
Link copied to clipboard
open fun setRotationY(p0: Float)
Link copied to clipboard
fun setRule(rule: VGSInfoRule)

Set a validation rule for the field.

Link copied to clipboard

Set validation rules for the field.

Link copied to clipboard
open fun setSaveEnabled(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setScaleX(p0: Float)
Link copied to clipboard
open fun setScaleY(p0: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setScrollBarSize(p0: Int)
Link copied to clipboard
open fun setScrollBarStyle(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setScrollIndicators(p0: Int)
open fun setScrollIndicators(p0: Int, p1: Int)
Link copied to clipboard
open fun setScrollX(p0: Int)
Link copied to clipboard
open fun setScrollY(p0: Int)
Link copied to clipboard
open fun setSelected(p0: Boolean)
Link copied to clipboard
fun setSelection(index: Int)

Moves the cursor to the specified offset position in text

Link copied to clipboard
open fun setSingleLine(singleLine: Boolean)

If true, sets the properties of this field (number of lines, horizontally scrolling, transformation method) to be for a single-line input.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setTag(p0: Any)
open fun setTag(p0: Int, p1: Any)
Link copied to clipboard
open fun setText(text: CharSequence?)

Sets the text to be displayed.

open fun setText(resId: Int)

Sets the text to be displayed using a string resource identifier.

open fun setText(text: CharSequence?, type: TextView.BufferType)

Sets the text to be displayed and the TextView.BufferType.

open fun setText(resId: Int, type: TextView.BufferType)

Sets the text to be displayed using a string resource identifier and the TextView.BufferType.

Link copied to clipboard
open fun setTextAlignment(p0: Int)
Link copied to clipboard
@RequiresApi(value = 23)
open fun setTextAppearance(resId: Int)

Sets the text appearance from the specified style resource.

open fun setTextAppearance(context: Context, resId: Int)

Sets the text color, size, style, hint color, and highlight color from the specified TextAppearance resource.

Link copied to clipboard
open fun setTextColor(color: Int)

Sets the text color for all the states (normal, selected, focused) to be this color.

Link copied to clipboard
open fun setTextDirection(p0: Int)
Link copied to clipboard
open fun setTextSize(size: Float)

Set the default text size to the given value, interpreted as "scaled pixel" units. This size is adjusted based on the current density and user font size preference.

open fun setTextSize(unit: Int, size: Float)

Set the default text size to a given unit and value. See TypedValue for the possible dimension units.

Link copied to clipboard
Link copied to clipboard
fun setTop(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setTranslationX(p0: Float)
Link copied to clipboard
open fun setTranslationY(p0: Float)
Link copied to clipboard
open fun setTranslationZ(p0: Float)
Link copied to clipboard
open fun setTypeface(typeface: Typeface)

Sets the typeface and style in which the text should be displayed.

open fun setTypeface(tf: Typeface?, style: Int)

Sets the typeface and style in which the text should be displayed, and turns on the fake bold and italic bits in the Paint if the Typeface that you provided does not have all the bits in the style that you specified.

Link copied to clipboard

Sets the vault alias format in which data stores on a backend.

Link copied to clipboard

Sets the vault storage type for storing.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setVisibility(p0: Int)
Link copied to clipboard
Link copied to clipboard
open fun setWillNotDraw(p0: Boolean)
Link copied to clipboard
open fun setX(p0: Float)
Link copied to clipboard
open fun setY(p0: Float)
Link copied to clipboard
open fun setZ(p0: Float)
Link copied to clipboard
Link copied to clipboard
open fun showContextMenu(p0: Float, p1: Float): Boolean
Link copied to clipboard
open override fun showContextMenuForChild(p0: View): Boolean
open override fun showContextMenuForChild(p0: View, p1: Float, p2: Float): Boolean
Link copied to clipboard

Explicitly request that the current input method's soft input area be shown to the user, if needed.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun stopNestedScroll()
Link copied to clipboard
open fun suppressLayout(p0: Boolean)
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun unscheduleDrawable(p0: Drawable, p1: Runnable)
Link copied to clipboard
Link copied to clipboard
open override fun updateViewLayout(p0: View, p1: ViewGroup.LayoutParams)
Link copied to clipboard
Link copied to clipboard
open fun willNotDraw(): Boolean