GridPasswordView

open class GridPasswordView : LinearLayout, PasswordView

Author

Jungly jungly.ik@gmail.com 15/3/5 21:30

Constructors

GridPasswordView
Link copied to clipboard
open fun GridPasswordView(context: Context)
GridPasswordView
Link copied to clipboard
open fun GridPasswordView(context: Context, attrs: AttributeSet)
GridPasswordView
Link copied to clipboard
open fun GridPasswordView(context: Context, attrs: AttributeSet, defStyleAttr: Int)
GridPasswordView
Link copied to clipboard
open fun GridPasswordView(context: Context, attrs: AttributeSet, defStyleAttr: Int, defStyleRes: Int)

Types

OnPasswordChangedListener
Link copied to clipboard
interface OnPasswordChangedListener
Interface definition for a callback to be invoked when the password changed or is at the maximum length.

Functions

clearPassword
Link copied to clipboard
open fun clearPassword()
Clear the passwrod the PasswordView is displaying.
forceInputViewGetFocus
Link copied to clipboard
open fun forceInputViewGetFocus()
getPassWord
Link copied to clipboard
open fun getPassWord(): String
Return the text the PasswordView is displaying.
setBackground
Link copied to clipboard
open fun setBackground(background: Drawable)
setBackgroundColor
Link copied to clipboard
open fun setBackgroundColor(color: Int)
setBackgroundDrawable
Link copied to clipboard
open fun setBackgroundDrawable(background: Drawable)
setBackgroundResource
Link copied to clipboard
open fun setBackgroundResource(resid: Int)
setOnPasswordChangedListener
Link copied to clipboard
open fun setOnPasswordChangedListener(listener: GridPasswordView.OnPasswordChangedListener)
Register a callback to be invoked when password changed.
setPassword
Link copied to clipboard
open fun setPassword(password: String)
Sets the string value of the PasswordView.
setPasswordType
Link copied to clipboard
open fun setPasswordType(passwordType: PasswordType)
setPasswordVisibility
Link copied to clipboard
open fun setPasswordVisibility(visible: Boolean)
Set the enabled state of this view.
togglePasswordVisibility
Link copied to clipboard
open fun togglePasswordVisibility()
Toggle the enabled state of this view.