org.solovyev.android.keyboard
Class InputMethodSettingsFragment

java.lang.Object
  extended by android.app.Fragment
      extended by android.preference.PreferenceFragment
          extended by org.solovyev.android.keyboard.InputMethodSettingsFragment
All Implemented Interfaces:
android.content.ComponentCallbacks, android.content.ComponentCallbacks2, android.view.View.OnCreateContextMenuListener, InputMethodSettingsInterface

public abstract class InputMethodSettingsFragment
extends android.preference.PreferenceFragment
implements InputMethodSettingsInterface


Nested Class Summary
 
Nested classes/interfaces inherited from class android.preference.PreferenceFragment
android.preference.PreferenceFragment.OnPreferenceStartFragmentCallback
 
Nested classes/interfaces inherited from class android.app.Fragment
android.app.Fragment.InstantiationException, android.app.Fragment.SavedState
 
Field Summary
 
Fields inherited from interface android.content.ComponentCallbacks2
TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
 
Constructor Summary
InputMethodSettingsFragment()
           
 
Method Summary
 void onCreate(android.os.Bundle savedInstanceState)
           
 void onResume()
          
 void setInputMethodSettingsCategoryTitle(CharSequence title)
          Sets the title for the input method settings category with a CharSequence.
 void setInputMethodSettingsCategoryTitle(int resId)
          Sets the title for the input method settings category with a resource ID.
 void setSubtypeEnablerIcon(android.graphics.drawable.Drawable drawable)
          Sets the icon for the Preference for launching subtype enabler with a Drawable.
 void setSubtypeEnablerIcon(int resId)
          Sets the icon for the preference for launching subtype enabler with a resource ID.
 void setSubtypeEnablerTitle(CharSequence title)
          Sets the title for the input method enabler preference for launching subtype enabler with a CharSequence.
 void setSubtypeEnablerTitle(int resId)
          Sets the title for the input method enabler preference for launching subtype enabler with a resource ID.
 
Methods inherited from class android.preference.PreferenceFragment
addPreferencesFromIntent, addPreferencesFromResource, findPreference, getPreferenceManager, getPreferenceScreen, onActivityCreated, onActivityResult, onCreateView, onDestroy, onDestroyView, onPreferenceTreeClick, onSaveInstanceState, onStart, onStop, setPreferenceScreen
 
Methods inherited from class android.app.Fragment
dump, equals, getActivity, getArguments, getFragmentManager, getId, getLoaderManager, getResources, getRetainInstance, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isVisible, onAttach, onConfigurationChanged, onContextItemSelected, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onDetach, onHiddenChanged, onInflate, onInflate, onLowMemory, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPrepareOptionsMenu, onTrimMemory, onViewCreated, registerForContextMenu, setArguments, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setRetainInstance, setTargetFragment, setUserVisibleHint, startActivity, startActivity, startActivityForResult, startActivityForResult, toString, unregisterForContextMenu
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InputMethodSettingsFragment

public InputMethodSettingsFragment()
Method Detail

onCreate

public void onCreate(android.os.Bundle savedInstanceState)
Overrides:
onCreate in class android.preference.PreferenceFragment

setInputMethodSettingsCategoryTitle

public void setInputMethodSettingsCategoryTitle(int resId)
Sets the title for the input method settings category with a resource ID.

Specified by:
setInputMethodSettingsCategoryTitle in interface InputMethodSettingsInterface
Parameters:
resId - The resource ID of the title.

setInputMethodSettingsCategoryTitle

public void setInputMethodSettingsCategoryTitle(CharSequence title)
Sets the title for the input method settings category with a CharSequence.

Specified by:
setInputMethodSettingsCategoryTitle in interface InputMethodSettingsInterface
Parameters:
title - The title for this preference.

setSubtypeEnablerTitle

public void setSubtypeEnablerTitle(int resId)
Sets the title for the input method enabler preference for launching subtype enabler with a resource ID.

Specified by:
setSubtypeEnablerTitle in interface InputMethodSettingsInterface
Parameters:
resId - The resource ID of the title.

setSubtypeEnablerTitle

public void setSubtypeEnablerTitle(CharSequence title)
Sets the title for the input method enabler preference for launching subtype enabler with a CharSequence.

Specified by:
setSubtypeEnablerTitle in interface InputMethodSettingsInterface
Parameters:
title - The title for this preference.

setSubtypeEnablerIcon

public void setSubtypeEnablerIcon(int resId)
Sets the icon for the preference for launching subtype enabler with a resource ID.

Specified by:
setSubtypeEnablerIcon in interface InputMethodSettingsInterface
Parameters:
resId - The resource id of an optional icon for the preference.

setSubtypeEnablerIcon

public void setSubtypeEnablerIcon(android.graphics.drawable.Drawable drawable)
Sets the icon for the Preference for launching subtype enabler with a Drawable.

Specified by:
setSubtypeEnablerIcon in interface InputMethodSettingsInterface
Parameters:
drawable - The drawable of an optional icon for the preference.

onResume

public void onResume()

Overrides:
onResume in class android.app.Fragment


Copyright © 2013. All Rights Reserved.