TextEdit

public class TextEdit extends AppCompatEditText implements IFormControl

Fields

mFieldName

protected String mFieldName

mIsShowLast

protected boolean mIsShowLast

Constructors

TextEdit

public TextEdit(Context context)

TextEdit

public TextEdit(Context context, AttributeSet attrs)

TextEdit

public TextEdit(Context context, AttributeSet attrs, int defStyleAttr)

Methods

addToLayout

public void addToLayout(ViewGroup layout)

getFieldName

public String getFieldName()

getValue

public Object getValue()

init

public void init(JSONObject element, List<Field> fields, Bundle savedState, Cursor featureCursor, SharedPreferences preferences)

isShowLast

public boolean isShowLast()

saveLastValue

public void saveLastValue(SharedPreferences preferences)

saveState

public void saveState(Bundle outState)