Distance

public class Distance extends LinearLayout implements IFormControl

Fields

mFieldName

protected String mFieldName

mHidden

protected boolean mHidden

mLocation

protected Location mLocation

mValue

protected double mValue

Constructors

Distance

public Distance(Context context)

Distance

public Distance(Context context, AttributeSet attrs)

Distance

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

Methods

addToLayout

public void addToLayout(ViewGroup layout)

getFieldName

public String getFieldName()

getFormattedValue

public String getFormattedValue()

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)

setLocation

public void setLocation(Location location)

setValue

public void setValue(double value)