|
WIMM Labs |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.app.Dialog
com.wimm.framework.app.Dialog
com.wimm.framework.app.TextInputDialog
public class TextInputDialog
This class provides a text entry Dialog
.
Dialog
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface android.content.DialogInterface |
---|
DialogInterface.OnCancelListener, DialogInterface.OnClickListener, DialogInterface.OnDismissListener, DialogInterface.OnKeyListener, DialogInterface.OnMultiChoiceClickListener |
Field Summary |
---|
Fields inherited from interface android.content.DialogInterface |
---|
BUTTON_NEGATIVE, BUTTON_NEUTRAL, BUTTON_POSITIVE, BUTTON1, BUTTON2, BUTTON3 |
Constructor Summary | |
---|---|
TextInputDialog(Context context)
Constructor. |
|
TextInputDialog(Context context,
boolean cancelable,
DialogInterface.OnCancelListener cancelListener)
Constructor. |
Method Summary | |
---|---|
String |
getText()
Gets the text from the entry field in the dialog. |
void |
setAlphabet(String alphabet)
Sets the alphabet to be used in the text selector. |
void |
setText(String text)
Sets the text in the entry field in the dialog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextInputDialog(Context context)
context
- The Context
.public TextInputDialog(Context context, boolean cancelable, DialogInterface.OnCancelListener cancelListener)
context
- The Context
.cancelable
- A flag specifying whether the dialog can be cancelled.cancelListener
- The listener to inform when the dialog's cancel
method is called.Method Detail |
---|
public void setAlphabet(String alphabet)
alphabet
- The alphabet to be available in the text selector.public String getText()
public void setText(String text)
text
- A string to display in the text entry field.
|
WIMM Labs |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |