-
- All Implemented Interfaces:
-
android.content.DialogInterface.OnClickListener
,android.content.DialogInterface.OnDismissListener
,android.preference.PreferenceManager.OnActivityDestroyListener
,java.lang.Comparable
public class EdgeTypePreference extends ListDialogPreference
Grid preference that allows the user to pick a captioning edge type.
-
-
Constructor Summary
Constructors Constructor Description EdgeTypePreference(Context context, AttributeSet attrs)
-
Method Summary
Modifier and Type Method Description boolean
shouldDisableDependents()
This determines whether the dependent preferences below this should be disabled.In this case, the dependent should be disabled only if the edge type is NONE. -
Methods inherited from class com.brightcove.player.captioning.preferences.ListDialogPreference
getSummary, getValue, setListItemLayoutResource, setOnValueChangedListener, setTitles, setValue, setValues
-
Methods inherited from class android.preference.DialogPreference
getDialog, getDialogIcon, getDialogLayoutResource, getDialogMessage, getDialogTitle, getNegativeButtonText, getPositiveButtonText, onActivityDestroy, onDismiss, setDialogIcon, setDialogLayoutResource, setDialogMessage, setDialogTitle, setNegativeButtonText, setPositiveButtonText
-
Methods inherited from class android.preference.Preference
compareTo, getContext, getDependency, getEditor, getExtras, getFragment, getIcon, getIntent, getKey, getLayoutResource, getOnPreferenceChangeListener, getOnPreferenceClickListener, getOrder, getParent, getPersistedStringSet, getPreferenceDataStore, getPreferenceManager, getSharedPreferences, getShouldDisableView, getSummary, getTitle, getTitleRes, getView, getWidgetLayoutResource, hasKey, isEnabled, isIconSpaceReserved, isPersistent, isRecycleEnabled, isSelectable, isSingleLineTitle, notifyDependencyChange, onDependencyChanged, onParentChanged, peekExtras, persistStringSet, restoreHierarchyState, saveHierarchyState, setDefaultValue, setDependency, setEnabled, setFragment, setIcon, setIconSpaceReserved, setIntent, setKey, setLayoutResource, setOnPreferenceChangeListener, setOnPreferenceClickListener, setOrder, setPersistent, setPreferenceDataStore, setRecycleEnabled, setSelectable, setShouldDisableView, setSingleLineTitle, setSummary, setTitle, setWidgetLayoutResource, shouldCommit, shouldDisableDependents, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
EdgeTypePreference
EdgeTypePreference(Context context, AttributeSet attrs)
-
-
Method Detail
-
shouldDisableDependents
boolean shouldDisableDependents()
This determines whether the dependent preferences below this should be disabled.In this case, the dependent should be disabled only if the edge type is NONE.
-
-
-
-