public class ToolsPreferenceFragment extends AtakPreferenceFragment
Modifier and Type | Class and Description |
---|---|
static class |
ToolsPreferenceFragment.ToolPreference
Describes the Tool Preference that is to be dynamically registered.
|
Modifier and Type | Field and Description |
---|---|
static int |
APP_MGMT_REQUEST_CODE |
static java.lang.String |
TAG |
_externalPreferenceBundle
Constructor and Description |
---|
ToolsPreferenceFragment() |
Modifier and Type | Method and Description |
---|---|
static ToolsPreferenceFragment.ToolPreference |
getPreferenceFragment(java.lang.String key) |
static java.util.List<ToolsPreferenceFragment.ToolPreference> |
getPreferenceFragments() |
void |
onCreate(android.os.Bundle savedInstanceState) |
void |
onDestroy() |
void |
onResume() |
static void |
register(ToolsPreferenceFragment.ToolPreference tPref)
Dynamically register a Tools preference under the Tool Preference screen.
|
static void |
unregister(java.lang.String key)
Dynamically remove a Tools preference under the Tool Preference screen
|
addPreferences, addPreferencesFromIntent, addPreferencesFromResource, checkKeyGuard, checkScreenLock, findPreference, getOrientation, getResourceID, getSubTitle, getSubTitle, getSubTitle, getSummary, getSummaryID, index, index, index, index, printBundleContents, removeMainWindowActivity, removePreference, setContext, setMainWindowActivity, setOrientation, setOrientation, setPreferenceState, setSoftKeyIllumination, showScreen, showScreen
getPreferenceManager, getPreferenceScreen, onActivityCreated, onActivityResult, onCreateView, onDestroyView, onPreferenceTreeClick, onSaveInstanceState, onStart, onStop, onViewCreated, setPreferenceScreen
dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isStateSaved, isVisible, onAttach, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPictureInPictureModeChanged, onPrepareOptionsMenu, onRequestPermissionsResult, onTrimMemory, onViewStateRestored, postponeEnterTransition, registerForContextMenu, requestPermissions, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
public static final java.lang.String TAG
public static final int APP_MGMT_REQUEST_CODE
public static void register(ToolsPreferenceFragment.ToolPreference tPref)
public static void unregister(java.lang.String key)
key
- - the key of Tool Preference object to removepublic static java.util.List<ToolsPreferenceFragment.ToolPreference> getPreferenceFragments()
public static ToolsPreferenceFragment.ToolPreference getPreferenceFragment(java.lang.String key)
public void onCreate(android.os.Bundle savedInstanceState)
onCreate
in class AtakPreferenceFragment
public void onResume()
onResume
in class AtakPreferenceFragment
public void onDestroy()
onDestroy
in class AtakPreferenceFragment