DoubleCombobox

public class DoubleCombobox extends AppCompatSpinner implements IFormControl

Fields

mAliasSubListMap

protected Map<String, AliasList> mAliasSubListMap

mAliasValueMap

protected Map<String, String> mAliasValueMap

mFieldName

protected String mFieldName

mFirstShow

protected boolean mFirstShow

mIsShowLast

protected boolean mIsShowLast

mSubAliasValueMaps

protected Map<String, Map<String, String>> mSubAliasValueMaps

mSubCombobox

protected Spinner mSubCombobox

mSubFieldName

protected String mSubFieldName

Constructors

DoubleCombobox

public DoubleCombobox(Context context)

DoubleCombobox

public DoubleCombobox(Context context, AttributeSet attrs)

DoubleCombobox

public DoubleCombobox(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)

setEnabled

public void setEnabled(boolean enabled)