Class ProfileEditText.StringProfileFieldViewAttribute
- java.lang.Object
-
- com.cheetahdigital.profile.ui.widgets.ProfileFieldViewAttribute
-
- com.cheetahdigital.profile.ui.widgets.ProfileEditText.StringProfileFieldViewAttribute
-
- Direct Known Subclasses:
CountryEditText.CountryProfileFieldViewAttribute
- Enclosing class:
- ProfileEditText
public class ProfileEditText.StringProfileFieldViewAttribute extends ProfileFieldViewAttribute
ProfileFieldViewAttribute
forString
Data Type Profile Field Views It has the following styleable attributes:- useLabelAsHint - use the Profile Field Label as the Hint for this View
-
-
Field Summary
Fields Modifier and Type Field Description protected int
mDeleteDrawable
protected int
mInputType
protected java.lang.String
mLabel
protected boolean
mUseLabelAsHint
-
Constructor Summary
Constructors Constructor Description StringProfileFieldViewAttribute(android.content.Context context, android.util.AttributeSet attrs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDeleteDrawable()
int
getInputType()
java.lang.String
getLabel()
int
getLabelVisibility()
boolean
isUseLabelAsHint()
void
setDeleteDrawable(int deleteDrawable)
void
setLabel(java.lang.String mLabel)
void
setLabelVisibility(int mLabelVisible)
void
setUseLabelAsHint(boolean useLabelAsHint)
-
Methods inherited from class com.cheetahdigital.profile.ui.widgets.ProfileFieldViewAttribute
getFieldName, isInEditMode, setInEditMode
-
-
-
-
Method Detail
-
getLabelVisibility
public int getLabelVisibility()
-
setLabelVisibility
public void setLabelVisibility(int mLabelVisible)
-
isUseLabelAsHint
public boolean isUseLabelAsHint()
-
setUseLabelAsHint
public void setUseLabelAsHint(boolean useLabelAsHint)
-
getDeleteDrawable
public int getDeleteDrawable()
-
setDeleteDrawable
public void setDeleteDrawable(@IdRes int deleteDrawable)
-
getInputType
public int getInputType()
-
getLabel
public java.lang.String getLabel()
-
setLabel
public void setLabel(java.lang.String mLabel)
-
-