public class DataFormValidationViewBehavior extends Object implements EntityPropertyEditor.OnValidationEventListener
Constructor and Description |
---|
DataFormValidationViewBehavior(Context context) |
Modifier and Type | Method and Description |
---|---|
Context |
getContext() |
EntityPropertyEditor |
getEditor() |
Drawable |
getInvalidBackgroundDrawable() |
Drawable |
getInvalidDrawable() |
int |
getInvalidTextColor() |
boolean |
isChangeBackground() |
TextView |
messageView() |
void |
onValidationEvent(EntityPropertyEditor editor,
ValidationInfo info) |
void |
reset() |
void |
setChangeBackground(boolean changeBackground) |
void |
setEditor(EntityPropertyEditor value) |
void |
setInvalidBackgroundDrawable(Drawable value) |
void |
setInvalidBackgroundDrawable(int drawableId) |
void |
setInvalidDrawable(Drawable value) |
void |
setInvalidDrawable(int drawableId) |
void |
setInvalidTextColor(int textColor) |
ImageView |
validationIcon() |
public DataFormValidationViewBehavior(Context context)
public Context getContext()
public EntityPropertyEditor getEditor()
public void setEditor(EntityPropertyEditor value)
public void reset()
public boolean isChangeBackground()
public void setChangeBackground(boolean changeBackground)
public TextView messageView()
public ImageView validationIcon()
public Drawable getInvalidBackgroundDrawable()
public void setInvalidBackgroundDrawable(int drawableId)
public void setInvalidBackgroundDrawable(Drawable value)
public void setInvalidDrawable(int drawableId)
public void setInvalidDrawable(Drawable value)
public Drawable getInvalidDrawable()
public void setInvalidTextColor(int textColor)
public int getInvalidTextColor()
public void onValidationEvent(EntityPropertyEditor editor, ValidationInfo info)
onValidationEvent
in interface EntityPropertyEditor.OnValidationEventListener