Lines Matching defs:textfield
297 // uses a hidden textfield to capture input
320 private UITextField textfield = null;
323 public boolean textFieldShouldChangeCharactersInRangeReplacementString (UITextField textField, NSRange range, String string) {
345 public boolean textFieldShouldEndEditing (UITextField textField) {
347 textField.setText("x");
354 public boolean textFieldShouldReturn (UITextField textField) {
365 if (textfield == null) createDefaultTextField();
367 textfield.becomeFirstResponder();
368 textfield.setDelegate(textDelegate);
370 textfield.resignFirstResponder();
383 if (textfield == null) createDefaultTextField();
384 return textfield;
388 textfield = UITextField.alloc();
389 textfield.initWithFrame(new CGRect(new CGPoint(10, 10), new CGSize(100, 50)));
392 textfield.setKeyboardType(UIKeyboardType.Default);
393 textfield.setReturnKeyType(UIReturnKeyType.Done);
394 textfield.setAutocapitalizationType(UITextAutocapitalizationType.None);
395 textfield.setAutocorrectionType(UITextAutocorrectionType.No);
396 textfield.setSpellCheckingType(UITextSpellCheckingType.No);
397 textfield.setHidden(true);
399 textfield.setText("x");
400 app.getUIViewController().view().addSubview(textfield);
419 UITextField textField = alertView.textFieldAtIndex(0);
420 listener.input(textField.text());
438 UITextField textField = uiAlertView.textFieldAtIndex(0);
439 textField.setPlaceholder(placeholder);
440 textField.setText(text);