]> git.saurik.com Git - iphone-api.git/blob - UIKit/UITextField.h
This one only took me maybe a half hour to find.
[iphone-api.git] / UIKit / UITextField.h
1 /*
2 * Generated by class-dump 3.1.2.
3 *
4 * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
5 */
6
7 #import <UIKit/UIControl.h>
8
9 #import <UIKit/UITextInputTraits-Protocol.h>
10
11 @class NSString, UIColor, UIImage, UIImageView, UILabel, UITextFieldAtomBackgroundView, UITextFieldBackgroundView, UITextFieldBorderView, UITextFieldLabel, UITextInputTraits, UIView;
12
13 @interface UITextField : UIControl <UITextInputTraits, NSCoding>
14 {
15 NSString *_text;
16 UIColor *_textColor;
17 int _borderStyle;
18 float _minimumFontSize;
19 id _delegate;
20 UIImage *_background;
21 UIImage *_disabledBackground;
22 int _clearButtonMode;
23 UIView *_leftView;
24 int _leftViewMode;
25 UIView *_rightView;
26 int _rightViewMode;
27 UITextInputTraits *_traits;
28 float _fullFontSize;
29 float _paddingLeft;
30 float _paddingTop;
31 float _paddingRight;
32 float _paddingBottom;
33 NSString *_textFont;
34 UIColor *_caretColor;
35 struct _NSRange _selectionRange;
36 int _scrollXOffset;
37 int _scrollYOffset;
38 float _progress;
39 NSString *_style;
40 double _mouseDownTime;
41 UIView *_clearButton;
42 struct CGSize _clearButtonOffset;
43 struct CGSize _leftViewOffset;
44 struct CGSize _rightViewOffset;
45 UITextFieldBorderView *_backgroundView;
46 UITextFieldBorderView *_disabledBackgroundView;
47 UITextFieldBackgroundView *_systemBackgroundView;
48 UITextFieldLabel *_textLabel;
49 UITextFieldLabel *_placeholderLabel;
50 UIImageView *_iconView;
51 UILabel *_label;
52 float _labelOffset;
53 UITextFieldAtomBackgroundView *_atomBackgroundView;
54 struct {
55 unsigned int secureTextChanged:1;
56 unsigned int guard:1;
57 unsigned int delegateRespondsToHandleKeyDown:1;
58 unsigned int verticallyCenterText:1;
59 unsigned int isAnimating:4;
60 unsigned int inactiveHasDimAppearance:1;
61 unsigned int becomesFirstResponderOnClearButtonTap:1;
62 unsigned int clearsOnBeginEditing:1;
63 unsigned int adjustsFontSizeToFitWidth:1;
64 unsigned int fieldEditorAttached:1;
65 unsigned int inBecomeFirstResponder:1;
66 } _textFieldFlags;
67 }
68
69 - (id)initWithFrame:(struct CGRect)fp8;
70 - (id)initWithCoder:(id)fp8;
71 - (void)_populateArchivedSubviews:(id)fp8;
72 - (void)encodeWithCoder:(id)fp8;
73 - (void)dealloc;
74 - (void)_clearStyle;
75 - (void)_setNeedsStyleRecalc;
76 - (void)_sizeChanged:(BOOL)fp8;
77 - (void)setFrame:(struct CGRect)fp8;
78 - (void)setBounds:(struct CGRect)fp8;
79 - (void)setAnimating:(BOOL)fp8;
80 - (struct CGSize)sizeThatFits:(struct CGSize)fp8;
81 - (BOOL)canBecomeFirstResponder;
82 - (BOOL)canResignFirstResponder;
83 - (BOOL)becomeFirstResponder;
84 - (BOOL)resignFirstResponder;
85 - (BOOL)_sendInitialMouseEvents;
86 - (void)mouseDown:(struct __GSEvent *)fp8;
87 - (void)mouseDragged:(struct __GSEvent *)fp8;
88 - (void)mouseUp:(struct __GSEvent *)fp8;
89 - (void)touchesBegan:(id)fp8 withEvent:(id)fp12;
90 - (void)touchesMoved:(id)fp8 withEvent:(id)fp12;
91 - (void)touchesEnded:(id)fp8 withEvent:(id)fp12;
92 - (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
93 - (id)hitTest:(struct CGPoint)fp8 withEvent:(id)fp16;
94 - (void)setFont:(id)fp8 fullFontSize:(float)fp12;
95 - (id)_copyFont:(id)fp8 newSize:(float)fp12 maxSize:(float)fp16;
96 - (float)_marginTopForText:(id)fp8;
97 - (id)_style;
98 - (void)_endedEditing;
99 - (void)_updateButtons;
100 - (void)_updateAutosizeStyleIfNeeded;
101 - (struct CGRect)_atomBackgroundViewFrame;
102 - (BOOL)_showsAtomBackground;
103 - (void)_updateAtomBackground;
104 - (BOOL)_showsClearButton:(BOOL)fp8;
105 - (BOOL)_showsLeftView;
106 - (BOOL)_showsRightView;
107 - (struct CGRect)_textRectForBounds:(struct CGRect)fp8 forEditing:(BOOL)fp24;
108 - (struct CGRect)_textRectExcludingButtonsForBounds:(struct CGRect)fp8;
109 - (void)_updateLabel;
110 - (struct CGRect)_frameForLabel:(id)fp8 inTextRect:(struct CGRect)fp12;
111 - (void)layoutSubviews;
112 - (BOOL)_shouldEndEditing;
113 - (void)_updateBackgroundViews;
114 - (void)_clearBackgroundViews;
115 - (struct CGSize)_leftViewOffset;
116 - (void)_setLeftViewOffset:(struct CGSize)fp8;
117 - (struct CGSize)_rightViewOffset;
118 - (void)_setRightViewOffset:(struct CGSize)fp8;
119 - (Class)_systemBackgroundViewClass;
120 - (id)textInputTraits;
121 - (void)forwardInvocation:(id)fp8;
122 - (id)methodSignatureForSelector:(SEL)fp8;
123 - (void)_updateTextLabel;
124 - (void)setSecureTextEntry:(BOOL)fp8;
125 - (id)text;
126 - (void)setText:(id)fp8;
127 - (void)_updateTextColor;
128 - (void)setTextColor:(id)fp8;
129 - (id)textColor;
130 - (void)setFont:(id)fp8;
131 - (id)font;
132 - (void)setTextAlignment:(int)fp8;
133 - (int)textAlignment;
134 - (void)setContentVerticalAlignment:(int)fp8;
135 - (void)setBorderStyle:(int)fp8;
136 - (id)createPlaceholderLabelWithFont:(id)fp8 andTextAlignment:(int)fp12;
137 - (id)createTextLabelWithTextColor:(id)fp8;
138 - (void)setPlaceholder:(id)fp8;
139 - (id)placeholder;
140 - (BOOL)clearsOnBeginEditing;
141 - (void)setClearsOnBeginEditing:(BOOL)fp8;
142 - (BOOL)adjustsFontSizeToFitWidth;
143 - (void)setAdjustsFontSizeToFitWidth:(BOOL)fp8;
144 - (void)setBackground:(id)fp8;
145 - (void)setDisabledBackground:(id)fp8;
146 - (BOOL)isEditing;
147 - (void)setClearButtonMode:(int)fp8;
148 - (void)setLeftView:(id)fp8;
149 - (void)setLeftViewMode:(int)fp8;
150 - (void)setRightView:(id)fp8;
151 - (void)setRightViewMode:(int)fp8;
152 - (struct CGRect)borderRectForBounds:(struct CGRect)fp8;
153 - (struct CGRect)textRectForBounds:(struct CGRect)fp8;
154 - (struct CGRect)placeholderRectForBounds:(struct CGRect)fp8;
155 - (struct CGRect)editingRectForBounds:(struct CGRect)fp8;
156 - (struct CGRect)clearButtonRectForBounds:(struct CGRect)fp8;
157 - (struct CGRect)leftViewRectForBounds:(struct CGRect)fp8;
158 - (struct CGRect)rightViewRectForBounds:(struct CGRect)fp8;
159 - (void)drawTextInRect:(struct CGRect)fp8;
160 - (void)drawPlaceholderInRect:(struct CGRect)fp8;
161 - (void)_drawTextInRect:(struct CGRect)fp8 forLabel:(id)fp24;
162 - (void)willAttachFieldEditor:(id)fp8;
163 - (void)attachFieldEditor:(id)fp8;
164 - (void)willDetachFieldEditor:(id)fp8;
165 - (BOOL)keyboardInput:(id)fp8 shouldInsertText:(id)fp12 isMarkedText:(BOOL)fp16;
166 - (BOOL)keyboardInputShouldDelete:(id)fp8;
167 - (BOOL)keyboardInputChanged:(id)fp8;
168 - (void)keyboardInputChangedSelection:(id)fp8;
169 - (id)keyboardInputOverlayContainer:(id)fp8;
170 - (int)keyboardInput:(id)fp8 positionForAutocorrection:(id)fp12;
171 - (BOOL)fieldEditorShouldEndEditing:(id)fp8;
172 - (void)fieldEditorDidBecomeFirstResponder:(id)fp8;
173 - (void)fieldEditorDidResignFirstResponder:(id)fp8;
174 - (void)fieldEditorDidChange:(id)fp8;
175 - (void)selectAllFromFieldEditor:(id)fp8;
176 - (struct _NSRange)fieldEditor:(id)fp8 willChangeSelectionFromCharacterRange:(struct _NSRange)fp12 toCharacterRange:(struct _NSRange)fp20;
177 - (void)fieldEditorDidChangeSelection:(id)fp8;
178 - (BOOL)fieldEditor:(id)fp8 shouldInsertText:(id)fp12 replacingRange:(struct _NSRange)fp16;
179 - (BOOL)fieldEditor:(id)fp8 shouldReplaceWithText:(id)fp12;
180 - (BOOL)webView:(id)fp8 shouldInsertText:(id)fp12 replacingDOMRange:(id)fp16 givenAction:(int)fp20;
181 - (void)setAutoresizesTextToFit:(BOOL)fp8;
182 - (void)setTextAutorresizesToFit:(BOOL)fp8;
183 - (void)setClearButtonStyle:(int)fp8;
184 - (struct CGRect)clearButtonRect;
185 - (struct CGRect)textRect;
186 - (struct CGRect)editRect;
187 - (void)drawRect:(struct CGRect)fp8;
188 - (void)drawBorder:(struct CGRect)fp8;
189 - (void)setPaddingTop:(float)fp8 paddingLeft:(float)fp12;
190 - (void)setPaddingLeft:(float)fp8;
191 - (float)paddingLeft;
192 - (void)setPaddingTop:(float)fp8;
193 - (float)paddingTop;
194 - (void)setPaddingBottom:(float)fp8;
195 - (float)paddingBottom;
196 - (void)setPaddingRight:(float)fp8;
197 - (float)paddingRight;
198 - (void)setTextFont:(id)fp8;
199 - (void)setInactiveHasDimAppearance:(BOOL)fp8;
200 - (void)setEnabled:(BOOL)fp8;
201 - (void)selectAll:(id)fp8;
202 - (struct _NSRange)selectionRange;
203 - (void)setSelectionRange:(struct _NSRange)fp8;
204 - (unsigned int)characterOffsetAtPoint:(struct CGPoint)fp8;
205 - (void)setIcon:(id)fp8;
206 - (struct CGSize)clearButtonOffset;
207 - (void)setBecomesFirstResponderOnClearButtonTap:(BOOL)fp8;
208 - (struct CGRect)iconRect;
209 - (void)setProgress:(float)fp8;
210 - (BOOL)hasMarkedText;
211 - (void)setLabelOffset:(float)fp8;
212 - (id)textLabel;
213 - (void)setLabel:(id)fp8;
214 - (void)setTextCentersHorizontally:(BOOL)fp8;
215 - (void)setTextCentersVertically:(BOOL)fp8;
216 - (void)_clearButtonClicked:(id)fp8;
217 - (void)setClearButtonOffset:(struct CGSize)fp8;
218 - (void)setDrawsAsAtom:(BOOL)fp8;
219 - (BOOL)drawsAsAtom;
220 - (void)setAtomStyle:(int)fp8;
221 - (int)atomStyle;
222 - (int)rightViewMode;
223 - (id)rightView;
224 - (int)leftViewMode;
225 - (id)leftView;
226 - (int)clearButtonMode;
227 - (id)disabledBackground;
228 - (id)background;
229 - (id)delegate;
230 - (void)setDelegate:(id)fp8;
231 - (float)minimumFontSize;
232 - (void)setMinimumFontSize:(float)fp8;
233 - (int)borderStyle;
234
235 @end
236