Tabs

public class Tabs extends LinearLayout implements IFormControl

Fields

mDefaultTab

protected int mDefaultTab

mFeatureId

protected long mFeatureId

mFields

protected Map<String, IControl> mFields

mFragmentManager

protected FragmentManager mFragmentManager

mGeometry

protected GeoGeometry mGeometry

mLayer

protected VectorLayer mLayer

mPreferences

protected SharedPreferences mPreferences

mSharedPreferences

protected SharedPreferences mSharedPreferences

mTabs

protected List<Fragment> mTabs

Constructors

Tabs

public Tabs(Context context)

Tabs

public Tabs(Context context, AttributeSet attrs)

Methods

addToLayout

protected void addToLayout(IFormControl control, JSONObject element, List<Field> fields, Bundle savedState, Cursor featureCursor, LinearLayout layout)

addToLayout

public void addToLayout(ViewGroup layout)

getFieldName

public String getFieldName()

getFields

public Map<String, IControl> getFields()

getValue

public Object getValue()

init

public void init(VectorLayer layer, long featureId, GeoGeometry geometry, Map<String, List<String>> table, int row, SharedPreferences sharedPreferences, SharedPreferences preferences, FragmentManager supportFragmentManager)

init

public void init(JSONObject tabs, 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)