Android
android.text.method
public class

android.text.method.CharacterPickerDialog

java.lang.Object
android.app.Dialog DialogInterface KeyEvent.Callback View.OnCreateContextMenuListener Window.Callback
android.text.method.CharacterPickerDialog View.OnClickListener AdapterView.OnItemClickListener

Dialog for choosing accented characters related to a base character.

Summary

Constants inherited from interface android.content.DialogInterface
Fields inherited from class android.app.Dialog

Public Constructors

            CharacterPickerDialog(Context context, View view, Editable text, String options, boolean insert)
Creates a new CharacterPickerDialog that presents the specified options for insertion or replacement (depending on the sense of insert) into text.

Public Methods

          void  onClick(View v)
Handles clicks on the Cancel button.
          void  onItemClick(AdapterView parent, View view, int position, long id)
Handles clicks on the character buttons.

Protected Methods

          void  onCreate(Bundle savedInstanceState)
Similar to onCreate(Bundle), you should initialized your dialog in this method, including calling setContentView(View).
Methods inherited from class android.app.Dialog
Methods inherited from class java.lang.Object
Methods inherited from interface android.content.DialogInterface
Methods inherited from interface android.view.KeyEvent.Callback
Methods inherited from interface android.view.View.OnClickListener
Methods inherited from interface android.view.View.OnCreateContextMenuListener
Methods inherited from interface android.view.Window.Callback
Methods inherited from interface android.widget.AdapterView.OnItemClickListener

Details

Public Constructors

public CharacterPickerDialog(Context context, View view, Editable text, String options, boolean insert)

Creates a new CharacterPickerDialog that presents the specified options for insertion or replacement (depending on the sense of insert) into text.

Public Methods

public void onClick(View v)

Handles clicks on the Cancel button.

public void onItemClick(AdapterView parent, View view, int position, long id)

Handles clicks on the character buttons.

Protected Methods

protected void onCreate(Bundle savedInstanceState)

Similar to onCreate(Bundle), you should initialized your dialog in this method, including calling setContentView(View).

Parameters

savedInstanceState If this dialog is being reinitalized after a the hosting activity was previously shut down, holds the result from the most recent call to onSaveInstanceState(), or null if this is the first time.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56