OsmAnd
|
Inherits DialogPreference.
Public Member Functions | |
SeekBarPreference (final Context context, final AttributeSet attrs) | |
int | getMax () |
int | getValue () |
void | onProgressChanged (final SeekBar seek, final int value, final boolean fromTouch) |
void | onStartTrackingTouch (final SeekBar seek) |
void | onStopTrackingTouch (final SeekBar seek) |
void | setMax (final int max) |
void | setValue (final int value) |
Protected Member Functions | |
void | onBindDialogView (final View v) |
View | onCreateDialogView () |
void | onDialogClosed (boolean positiveResult) |
void | onSetInitialValue (final boolean restore, final Object defaultValue) |
Package Attributes | |
TextView | valueTextView |
final String | valueText |
int | value |
int | valueToSave = 0 |
A preference item that uses a seek-bar, or slider to set the value.
net.osmand.plus.views.SeekBarPreference.SeekBarPreference | ( | final Context | context, |
final AttributeSet | attrs | ||
) |
Default constructor.
context | The application context. |
attrs | The attribute set, containing the text, title, values, and range for the slider dialog. |
void net.osmand.plus.views.SeekBarPreference.onBindDialogView | ( | final View | v | ) | [protected] |
View net.osmand.plus.views.SeekBarPreference.onCreateDialogView | ( | ) | [protected] |
void net.osmand.plus.views.SeekBarPreference.onDialogClosed | ( | boolean | positiveResult | ) | [protected] |
void net.osmand.plus.views.SeekBarPreference.onProgressChanged | ( | final SeekBar | seek, |
final int | value, | ||
final boolean | fromTouch | ||
) |
void net.osmand.plus.views.SeekBarPreference.onSetInitialValue | ( | final boolean | restore, |
final Object | defaultValue | ||
) | [protected] |
void net.osmand.plus.views.SeekBarPreference.onStartTrackingTouch | ( | final SeekBar | seek | ) |
void net.osmand.plus.views.SeekBarPreference.onStopTrackingTouch | ( | final SeekBar | seek | ) |
void net.osmand.plus.views.SeekBarPreference.setMax | ( | final int | max | ) |
void net.osmand.plus.views.SeekBarPreference.setValue | ( | final int | value | ) |
int net.osmand.plus.views.SeekBarPreference.value [package] |
final String net.osmand.plus.views.SeekBarPreference.valueText [package] |
TextView net.osmand.plus.views.SeekBarPreference.valueTextView [package] |
int net.osmand.plus.views.SeekBarPreference.valueToSave = 0 [package] |