public interface

InlineValidation

com.sap.cloud.mobile.fiori.formcell.InlineValidation
Known Indirect Subclasses

Class Overview

Interface defining methods to be implemented by a view which supports inline validation.

Summary

Public Methods
abstract CharSequence getError()
Returns the validation message specified for the view.
abstract TextView getErrorView()
abstract boolean isErrorEnabled()
abstract void setError(CharSequence error)
Sets the text which implies that the input is invalid and needs correction
abstract void setErrorEnabled(boolean errorEnabled)
abstract void setErrorTextAppearance(int resId)

Public Methods

public abstract CharSequence getError ()

Returns the validation message specified for the view.

Returns
  • CharSequence error string

public abstract TextView getErrorView ()

public abstract boolean isErrorEnabled ()

public abstract void setError (CharSequence error)

Sets the text which implies that the input is invalid and needs correction

Parameters
error CharSequence

public abstract void setErrorEnabled (boolean errorEnabled)

public abstract void setErrorTextAppearance (int resId)